:root {
  --color-primary: #1B5E9E;
  --color-secondary: #2E86D1;
  --color-accent: #00BFA5;
  --color-bg: #F8FAFB;
  --color-surface: #FFFFFF;
  --color-title: #1F2933;
  --color-text: #5F6B75;
  --color-muted: #8A96A3;
  --color-border: #E4EAF0;
  --container-width: 1200px;
  --nav-height: 84px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 56px;
  --space-7: 72px;
  --space-8: 88px;
  --shadow-soft: 0 2px 12px rgba(31, 41, 51, 0.06);
  --shadow-card: 0 4px 16px rgba(31, 41, 51, 0.07);
  --shadow-hover: 0 8px 28px rgba(31, 41, 51, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 48px, var(--container-width));
  margin: 0 auto;
}

.site-header,
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled,
.navbar.is-scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  color: var(--color-title);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.logo::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  vertical-align: middle;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-menu a {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.nav-menu .btn {
  min-height: 44px;
  padding: 10px 26px;
  font-size: 15px;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-title);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #FFFFFF;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover,
.button:hover {
  background: #154D82;
  border-color: #154D82;
}

.button-outline,
.button-light {
  background: transparent;
  color: var(--color-primary);
}

.button-outline:hover,
.button-light:hover {
  background: var(--color-primary);
  color: #FFFFFF;
}

.section {
  padding: var(--space-8) 0;
}

.section + .section {
  border-top: 1px solid var(--color-border);
}

.section-heading {
  max-width: 720px;
  margin-bottom: var(--space-6);
}

.section-heading-left,
.section-heading {
  text-align: left;
}

.section-heading .section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-heading p {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 17px;
  max-width: 560px;
}

.section-title,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-title);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-title {
  margin-bottom: var(--space-1);
  font-size: 38px;
}

.card,
.stat-card,
.service-card,
.doctor-card,
.case-card,
.honor-card,
.timeline-content,
.process-step,
.price-card,
.contact-info,
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover,
.stat-card:hover,
.service-card:hover,
.doctor-card:hover,
.case-card:hover,
.honor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 0;
  background: linear-gradient(135deg, #0D3F6E 0%, #1B5E9E 40%, #2E86D1 100%);
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.hero::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 0;
}

.hero::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 20% 40%, #ffffff 1.5px, transparent 1.5px),
    radial-gradient(circle at 80% 60%, #ffffff 2px, transparent 2px);
  background-size: 80px 80px, 100px 100px;
}

.hero-inner,
.about-inner,
.intro-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  position: relative;
  z-index: 2;
  align-items: center;
}

.hero-content {
  max-width: none;
}

.hero-content h1 {
  color: #FFFFFF;
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.hero-content p {
  max-width: 520px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  background: #FFFFFF;
  color: var(--color-primary);
  border-color: #FFFFFF;
  font-size: 16px;
  min-height: 50px;
  padding: 12px 32px;
}

.hero-actions .btn:hover {
  background: #F0F4F8;
  border-color: #F0F4F8;
}

.hero-actions .button-outline {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255,255,255,0.7);
  font-size: 16px;
  min-height: 50px;
  padding: 12px 32px;
}

.hero-actions .button-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.hero-image.photo-cover,
.clinic-image.photo-cover,
.intro-image.photo-cover,
.environment-card.photo-cover,
.service-detail-image.photo-cover {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.stats-section {
  padding: var(--space-4) 0;
  background: var(--color-bg);
}

.stats-grid,
.services-grid,
.doctors-grid,
.cases-grid,
.case-list-grid,
.doctor-list-grid,
.honors-grid,
.environment-grid,
.process-steps,
.price-grid,
.footer-grid {
  display: grid;
  gap: var(--space-3);
}

/* Desktop multi-column layouts */
@media (min-width: 769px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(3, 1fr); }
  .doctor-list-grid { grid-template-columns: repeat(3, 1fr); }
  .case-list-grid { grid-template-columns: repeat(3, 1fr); }
  .honors-grid { grid-template-columns: repeat(3, 1fr); }
  .environment-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(4, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr 1fr; }
}

.stat-card {
  padding: var(--space-4);
  text-align: center;
}

.stat-card strong {
  display: block;
  color: var(--color-primary);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-1);
}

.stat-card span {
  color: var(--color-muted);
  font-size: 15px;
  font-weight: 500;
}

.service-card {
  overflow: hidden;
}

.service-card-image.photo-cover {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
}

.service-icon {
  display: none;
}

.service-card h3,
.service-card p,
.case-card h3,
.case-card p {
  margin-right: var(--space-3);
  margin-left: var(--space-3);
}

.service-card h3,
.case-card h3 {
  margin-top: var(--space-3);
  margin-bottom: var(--space-1);
  font-size: 20px;
}

.service-card p,
.case-card p {
  padding-bottom: var(--space-3);
}

.feature-list {
  display: grid;
  gap: var(--space-2);
}

.feature-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: var(--space-3);
  padding: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-item:hover {
  background: rgba(27,94,158,0.03);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(27,94,158,0.04);
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 800;
}

.doctor-card {
  padding: var(--space-4);
  text-align: left;
}

.avatar-placeholder.photo-cover,
.doctor-photo {
  width: 120px;
  height: 120px;
  min-width: 120px;
  min-height: 120px;
  max-width: 120px;
  max-height: 120px;
  margin-bottom: var(--space-3);
  border: 2px solid var(--color-border);
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.tag-list {
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
  margin: var(--space-2) 0;
}

.tag-list span {
  padding: 5px 12px;
  border: 1px solid rgba(0,191,165,0.2);
  border-radius: 999px;
  background: rgba(0,191,165,0.06);
  color: #008C78;
  font-size: 13px;
  font-weight: 600;
}

.btn-small {
  min-height: 40px;
  padding: 8px 20px;
  font-size: 15px;
}

.case-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-1);
  padding: var(--space-2);
}

.case-compare .photo-cover,
.case-compare .image-placeholder {
  width: 100%;
  height: 200px;
  min-height: 0;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.section-link {
  margin-top: var(--space-3);
}

.section-link a {
  color: var(--color-primary);
  font-weight: 600;
}

.cta-section {
  padding: var(--space-7) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0D3F6E 100%);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cta-inner h2 {
  color: #FFFFFF;
  font-size: 32px;
}

.cta-inner .button-light {
  background: #FFFFFF;
  color: var(--color-primary);
  border-color: #FFFFFF;
  min-height: 50px;
  padding: 12px 36px;
  font-size: 16px;
  font-weight: 700;
}

.cta-inner .button-light:hover {
  background: #F0F4F8;
  border-color: #F0F4F8;
}

.cta-inner h2 {
  color: #FFFFFF;
  font-size: 28px;
}

.site-footer {
  background: #142536;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  padding: var(--space-5) 0;
}

.footer-column .logo,
.footer-column h3 {
  color: #FFFFFF;
}

.footer-column li + li,
.footer-column p + p {
  margin-top: var(--space-1);
}

.qr-placeholder,
.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EEF3F7;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.qr-placeholder {
  width: 120px;
  height: 120px;
}

.footer-bottom {
  padding: var(--space-2) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
}

.page-banner {
  display: flex;
  align-items: center;
  height: 280px;
  background: linear-gradient(135deg, #0D3F6E 0%, var(--color-primary) 50%, var(--color-secondary) 100%);
  text-align: left;
}

.page-banner h1 {
  color: #FFFFFF;
  font-size: 42px;
  font-weight: 800;
}

.timeline {
  position: relative;
  max-width: 760px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 72px;
  width: 1px;
  background: var(--color-border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--space-2);
  padding-bottom: var(--space-3);
}

.timeline-year {
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 700;
}

.timeline-content {
  position: relative;
  padding: var(--space-2);
}

.timeline-content::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-primary);
}

.tabs,
.filter-bar {
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}

.tab-button,
.filter-button {
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
}

.tab-button.is-active,
.filter-button.is-active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #FFFFFF;
}

.tab-button::after {
  display: none;
}

.tab-panel {
  display: none;
  opacity: 1;
}

.tab-panel.is-active {
  display: block;
  animation: none;
}

.service-detail {
  padding: var(--space-3);
  overflow: hidden;
}

.service-detail-image.photo-cover {
  height: 260px;
  margin: calc(var(--space-3) * -1) calc(var(--space-3) * -1) var(--space-3);
  width: calc(100% + 48px);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.contact-info,
.contact-form,
.process-step,
.price-card {
  padding: var(--space-3);
}

.form-group {
  margin-bottom: var(--space-2);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-1);
  color: var(--color-title);
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-title);
}

.form-group textarea {
  min-height: 132px;
  resize: vertical;
}

.btn.float-consult {
  position: fixed;
  right: var(--space-3);
  bottom: var(--space-3);
  z-index: 850;
  width: auto;
  white-space: nowrap;
}

.back-to-top {
  position: fixed;
  right: var(--space-3);
  bottom: 88px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  background: var(--color-primary);
  color: #FFFFFF;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 37, 54, 0.56);
}

.modal-dialog {
  position: relative;
  width: min(100%, 560px);
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  text-align: left;
}

.modal-close {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  cursor: pointer;
}

.field-error {
  display: block;
  margin-top: 6px;
  color: #C0392B;
  font-size: 13px;
}

.form-group input.is-invalid,
.form-group textarea.is-invalid,
.form-group select.is-invalid {
  border-color: #C0392B;
}

.form-success-message {
  margin-bottom: var(--space-2);
  padding: 12px 14px;
  border: 1px solid rgba(0, 191, 165, 0.24);
  border-radius: var(--radius-sm);
  color: #008C78;
}

.not-found-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5) var(--space-3);
  background: var(--color-bg);
}

.not-found-card {
  width: min(100%, 520px);
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  text-align: center;
}

.not-found-card h1 {
  color: var(--color-primary);
  font-size: 88px;
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 32px, var(--container-width));
  }

  .section {
    padding: var(--space-5) 0;
  }

  .logo {
    font-size: 18px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    background: var(--color-surface);
    border-bottom: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .nav-menu.is-open {
    max-height: calc(100vh - var(--nav-height));
    padding: var(--space-2) 24px var(--space-3);
    border-bottom: 1px solid var(--color-border);
  }

  .nav-menu a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-menu .btn,
  .hero-actions .btn,
  .hero-actions .button,
  .btn,
  .button {
    width: 100%;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-image.photo-cover,
  .clinic-image.photo-cover,
  .intro-image.photo-cover,
  .environment-card.photo-cover,
  .service-detail-image.photo-cover {
    height: 220px;
  }

  .service-card-image.photo-cover {
    height: 180px;
  }

  .section-title {
    font-size: 26px;
  }

  .page-banner {
    height: 200px;
  }

  .page-banner h1 {
    font-size: 30px;
  }

  .tabs,
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: var(--space-1);
  }

  .tab-button,
  .filter-button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .case-compare .photo-cover,
  .case-compare .image-placeholder {
    height: 132px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Store detail gallery: one large image with thumbnail, arrow and swipe switching. */
.store-gallery {
  margin: 0 0 30px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(27, 94, 158, 0.09);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(27, 94, 158, 0.065);
}

.store-gallery-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.store-gallery-heading p {
  margin: 0 0 4px;
  color: #1B5E9E;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.store-gallery-heading h2 {
  margin: 0;
  color: #17384F;
  font-size: 23px;
  line-height: 1.25;
}

.store-gallery-heading > span {
  color: #7A8A91;
  font-size: 13px;
}

.store-gallery-stage {
  position: relative;
  overflow: hidden;
  background: #E7F0F4;
  border-radius: 14px;
  outline: none;
  touch-action: pan-y;
}

.store-gallery-stage:focus-visible {
  box-shadow: 0 0 0 3px rgba(27, 94, 158, 0.2);
}

.store-gallery-slide {
  margin: 0;
  animation: store-gallery-enter 0.34s ease both;
}

.store-gallery-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.store-gallery-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0 0 3px;
  place-items: center;
  color: #17384F;
  font: 300 34px/1 Arial, sans-serif;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 56, 79, 0.08);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(23, 56, 79, 0.16);
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.store-gallery-arrow:hover,
.store-gallery-arrow:focus-visible {
  background: #FFFFFF;
  transform: translateY(-50%) scale(1.06);
}

.store-gallery-arrow.is-prev { left: 16px; }
.store-gallery-arrow.is-next { right: 16px; }

.store-gallery-counter {
  position: absolute;
  right: 14px;
  bottom: 12px;
  min-width: 58px;
  padding: 5px 10px;
  color: #FFFFFF;
  font-size: 12px;
  text-align: center;
  background: rgba(14, 39, 57, 0.68);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.store-gallery-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding: 2px 2px 5px;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.store-gallery-thumbnail {
  position: relative;
  flex: 0 0 126px;
  padding: 3px;
  overflow: hidden;
  cursor: pointer;
  background: #FFFFFF;
  border: 2px solid transparent;
  border-radius: 10px;
  opacity: 0.72;
  scroll-snap-align: start;
  transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.store-gallery-thumbnail:hover { opacity: 1; }
.store-gallery-thumbnail.is-active {
  border-color: #1B5E9E;
  opacity: 1;
  transform: translateY(-1px);
}

.store-gallery-thumbnail:focus-visible {
  outline: 3px solid rgba(27, 94, 158, 0.2);
  outline-offset: 1px;
}

.store-gallery-thumbnail img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 5px;
}

.store-gallery-thumbnail span {
  position: absolute;
  right: 7px;
  bottom: 6px;
  padding: 2px 6px;
  color: #FFFFFF;
  font-size: 10px;
  background: rgba(14, 39, 57, 0.68);
  border-radius: 999px;
}

.store-gallery-help {
  margin: 8px 2px 0;
  color: #87969D;
  font-size: 12px;
  text-align: right;
}

@keyframes store-gallery-enter {
  from { opacity: 0.35; transform: scale(1.008); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
  .store-gallery {
    margin-bottom: 22px;
    padding: 16px;
    border-radius: 14px;
  }

  .store-gallery-heading {
    align-items: flex-start;
    margin-bottom: 14px;
  }

  .store-gallery-heading h2 { font-size: 20px; }
  .store-gallery-heading > span { display: none; }
  .store-gallery-slide img { aspect-ratio: 4 / 3; }
  .store-gallery-arrow { width: 38px; height: 38px; font-size: 29px; }
  .store-gallery-arrow.is-prev { left: 10px; }
  .store-gallery-arrow.is-next { right: 10px; }
  .store-gallery-thumbnail { flex-basis: 94px; }
  .store-gallery-help { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .store-gallery-slide { animation: none; }
  .store-gallery-arrow,
  .store-gallery-thumbnail { transition: none; }
}
/* Home store titles: compact single-line labels. */
#cases.stores-section .stores-grid-six .store-card h3,
#cases.stores-section .stores-grid-six .store-card-main h3 {
  max-width: 100%;
  margin-bottom: 12px;
  overflow: hidden;
  color: #FFFFFF;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 32px, 1200px);
  }

  .hero {
    padding: 48px 0;
  }

  .hero-inner,
  .about-inner,
  .intro-layout,
  .contact-layout,
  .stats-grid,
  .services-grid,
  .doctors-grid,
  .doctor-list-grid,
  .cases-grid,
  .case-list-grid,
  .honors-grid,
  .environment-grid,
  .process-steps,
  .price-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-image.photo-cover {
    height: 220px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card-image.photo-cover {
    height: 180px;
  }
}

/* Navigation bilingual labels */
.nav-menu a:not(.btn) {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.15;
}

.nav-menu a span {
  display: block;
}

.nav-menu small {
  display: block;
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu a:hover small {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .nav-menu a:not(.btn) {
    align-items: flex-start;
    gap: 4px;
  }
}

/* Section English subtitles */
.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-heading-left .section-kicker,
.section-heading .section-kicker {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .section-kicker {
    font-size: 11px;
    letter-spacing: 0.14em;
  }
}

/* Brand logo fit */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--color-title);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
}

.logo::before {
  display: none;
}

.logo-mark {
  width: 44px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
}

.logo span {
  white-space: nowrap;
}

.nav-inner {
  gap: 24px;
}

.nav-menu {
  flex: 0 1 auto;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-brand-word {
  position: absolute;
  right: max(24px, calc((100vw - 1200px) / 2));
  top: 24px;
  z-index: 0;
  font-size: clamp(76px, 15vw, 188px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  background: linear-gradient(90deg, rgba(27, 94, 158, 0.18), rgba(46, 134, 209, 0.04));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.site-footer .logo {
  color: #FFFFFF;
  align-items: center;
}

.site-footer .logo-mark {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

@media (max-width: 1080px) {
  .logo {
    font-size: 16px;
  }

  .logo-mark {
    width: 38px;
    height: 28px;
  }

  .nav-menu {
    gap: 16px;
  }

  .nav-menu a {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 16px;
  }

  .logo-mark {
    width: 36px;
    height: 26px;
  }

  .hero-brand-word {
    right: 16px;
    top: 32px;
    font-size: 76px;
    opacity: 0.72;
  }
}

/* Enterprise brand redesign pass */
:root {
  --color-primary: #0B4E87;
  --color-secondary: #2A7DBB;
  --color-accent: #18A999;
  --color-bg: #F6F9FC;
  --color-title: #152536;
  --color-text: #5B6875;
  --color-muted: #8B98A6;
  --color-border: #DDE7EF;
}

.site-header,
.navbar {
  height: 86px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(11, 78, 135, 0.12);
}

.site-header.is-scrolled,
.navbar.is-scrolled {
  box-shadow: 0 10px 30px rgba(21, 37, 54, 0.08);
}

.nav-inner {
  gap: 32px;
}

.logo {
  gap: 14px;
  color: #13283B;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 72px;
  height: 54px;
  object-fit: contain;
}

.logo span {
  display: block;
  white-space: nowrap;
}

.nav-menu {
  gap: 22px;
}

.nav-menu a:not(.btn) {
  color: #314252;
  font-size: 14px;
  font-weight: 600;
}

.nav-menu small {
  margin-top: 3px;
  color: #9BA8B4;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.nav-menu a:hover,
.nav-menu a:hover small {
  color: var(--color-primary);
}

.nav-menu .btn {
  min-height: 42px;
  padding: 10px 20px;
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #FFFFFF;
}

.btn,
.button {
  border-color: var(--color-primary);
  background: var(--color-primary);
}

.btn:hover,
.button:hover {
  border-color: #083A65;
  background: #083A65;
}

.button-outline,
.button-light {
  background: #FFFFFF;
  color: var(--color-primary);
}

.hero {
  background: #FFFFFF;
}

.hero-content h1 {
  color: #12283C;
  font-size: 50px;
  letter-spacing: -0.04em;
}

.hero-content p {
  color: #607080;
}

.hero-brand-word {
  right: max(24px, calc((100vw - 1200px) / 2));
  top: 40px;
  font-size: clamp(108px, 17vw, 228px);
  font-weight: 900;
  letter-spacing: -0.08em;
  background: linear-gradient(90deg, rgba(11, 78, 135, 0.20), rgba(24, 169, 153, 0.05));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-kicker {
  color: var(--color-primary);
}

.section-title {
  color: #152536;
}

.card,
.stat-card,
.service-card,
.doctor-card,
.case-card,
.honor-card,
.timeline-content,
.process-step,
.price-card,
.contact-info,
.contact-form {
  border-color: rgba(11, 78, 135, 0.12);
  background: #FFFFFF;
}

.site-footer {
  background: #102335;
}

.site-footer .logo {
  color: #FFFFFF;
  font-size: 22px;
}

.site-footer .logo-mark {
  width: 64px;
  height: 48px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

@media (max-width: 1180px) {
  .logo {
    font-size: 20px;
    gap: 10px;
  }

  .logo-mark {
    width: 58px;
    height: 44px;
  }

  .nav-menu {
    gap: 14px;
  }

  .nav-menu a:not(.btn) {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .site-header,
  .navbar {
    height: 72px;
  }

  .logo {
    max-width: calc(100vw - 104px);
    font-size: 17px;
    gap: 10px;
  }

  .logo-mark {
    width: 50px;
    height: 38px;
  }

  .logo span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-brand-word {
    top: 34px;
    right: 16px;
    font-size: 92px;
  }
}

/* About section editorial title */
.about-section .about-kicker {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(24px, 4vw, 56px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.05em;
  background: linear-gradient(90deg, rgba(11, 78, 135, 0.88), rgba(42, 125, 187, 0.18));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-section .section-title {
  font-size: clamp(30px, 3vw, 42px);
}

.about-visual {
  box-shadow: 0 18px 44px rgba(21, 37, 54, 0.10);
}

@media (max-width: 768px) {
  .about-section .about-kicker {
    font-size: 34px;
    letter-spacing: -0.04em;
  }
}

/* Premium about image fit */
.about-visual[src*="about-clinic-premium"] {
  height: 460px;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 768px) {
  .about-visual[src*="about-clinic-premium"] {
    height: 220px;
  }
}

/* About section balance repair */
.about-section {
  background: #FFFFFF;
}

.about-section .about-inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 64px;
}

.about-section .about-visual {
  width: 100%;
  height: 520px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center center;
}

.about-section .about-content {
  max-width: 500px;
  align-self: center;
}

.about-section .section-heading {
  margin-bottom: 28px;
}

.about-section .feature-list {
  gap: 0;
}

.about-section .feature-item {
  min-height: 88px;
  align-items: flex-start;
  padding: 18px 0;
}

.about-section .feature-item:first-child {
  padding-top: 0;
}

.about-section .feature-item h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.about-section .feature-item p {
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 960px) {
  .about-section .about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-section .about-content {
    max-width: none;
  }

  .about-section .about-visual {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .about-section .about-visual {
    height: 220px;
  }

  .about-section .feature-item {
    min-height: auto;
    padding: 16px 0;
  }
}

/* Homepage rhythm system repair */
#home .section {
  padding: 72px 0;
}

#home .section + .section {
  border-top: 1px solid rgba(11, 78, 135, 0.08);
}

#home .section-heading {
  margin-bottom: 32px;
}

#home .section-title {
  font-size: 36px;
  line-height: 1.15;
}

#home .section-heading p {
  color: #657381;
  font-size: 16px;
  line-height: 1.75;
}

.hero {
  padding: 72px 0 80px;
}

.hero-inner {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
}

.hero-image.photo-cover {
  height: 430px;
}

.stats-section {
  padding: 32px 0 !important;
}

.about-section .about-inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}

.about-section .about-visual {
  height: 440px;
}

.about-section .about-content {
  max-width: none;
}

.about-section .about-kicker {
  font-size: clamp(28px, 3.3vw, 48px);
  margin-bottom: 8px;
}

.about-section .section-heading {
  margin-bottom: 24px;
}

.about-section .feature-item {
  min-height: auto;
  padding: 16px 0;
}

.services-grid,
.doctors-grid,
.cases-grid {
  gap: 24px;
}

.service-card-image.photo-cover {
  height: 180px;
}

.doctor-card {
  min-height: 300px;
}

.case-compare .photo-cover,
.case-compare .image-placeholder {
  height: 160px;
}

.cta-section {
  padding: 56px 0;
}

@media (max-width: 960px) {
  .hero-inner,
  .about-section .about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-image.photo-cover,
  .about-section .about-visual {
    height: 320px;
  }
}

@media (max-width: 768px) {
  #home .section {
    padding: 48px 0;
  }

  #home .section-title {
    font-size: 28px;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .hero-image.photo-cover,
  .about-section .about-visual {
    height: 220px;
  }

  .about-section .about-kicker {
    font-size: 34px;
  }

  .service-card-image.photo-cover {
    height: 180px;
  }

  .doctor-card {
    min-height: auto;
  }
}

/* Enterprise header scale repair */
:root {
  --nav-height: 104px;
}

.site-header,
.navbar {
  height: var(--nav-height);
  background: #FFFFFF;
  border-bottom: 1px solid rgba(11, 78, 135, 0.10);
}

.nav-inner {
  width: min(100% - 56px, 1320px);
  gap: 36px;
}

.logo {
  gap: 16px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0F2438;
}

.logo-mark {
  width: 92px;
  height: 68px;
}

.logo span {
  white-space: nowrap;
}

.nav-menu {
  margin-left: auto;
  gap: 28px;
}

.nav-menu a:not(.btn) {
  min-width: 58px;
  font-size: 16px;
  font-weight: 700;
  color: #22384D;
}

.nav-menu small {
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #8C9AA8;
}

.nav-menu .btn {
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 15px;
}

.hero {
  padding-top: 88px;
}

.hero-content h1 {
  font-size: 56px;
}

.hero-content p {
  font-size: 19px;
}

.hero-brand-word {
  top: 56px;
  font-size: clamp(126px, 18vw, 260px);
}

@media (max-width: 1280px) {
  .nav-inner {
    width: min(100% - 40px, 1200px);
    gap: 22px;
  }

  .logo {
    font-size: 22px;
  }

  .logo-mark {
    width: 72px;
    height: 54px;
  }

  .nav-menu {
    gap: 18px;
  }

  .nav-menu a:not(.btn) {
    font-size: 14px;
  }
}

@media (max-width: 980px) {
  :root {
    --nav-height: 78px;
  }

  .nav-inner {
    width: min(100% - 32px, 1200px);
  }

  .logo {
    max-width: calc(100vw - 104px);
    font-size: 18px;
  }

  .logo-mark {
    width: 58px;
    height: 42px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    margin-left: 0;
    padding: 0 24px;
    background: #FFFFFF;
    border-bottom: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .nav-menu.is-open {
    max-height: calc(100vh - var(--nav-height));
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-menu a:not(.btn) {
    align-items: flex-start;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-menu .btn {
    width: 100%;
    margin-top: 12px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-content h1 {
    font-size: 34px;
  }
}

/* Doctor carousel and nav interaction redesign */
.nav-menu {
  position: relative;
}

.nav-hover-indicator {
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transform: translateX(0);
  transition: transform 0.28s ease, width 0.28s ease, opacity 0.2s ease;
  pointer-events: none;
}

.nav-menu a:not(.btn) {
  transition: color 0.24s ease, transform 0.24s ease;
}

.nav-menu a:not(.btn).is-nav-hovered {
  color: var(--color-primary);
  transform: translateY(-2px);
}

.nav-menu a:not(.btn).is-nav-hovered small {
  color: var(--color-accent);
}

.doctors-section {
  overflow: hidden;
  background: #F8FBFD;
}

.doctors-section .container {
  width: min(100% - 48px, 1320px);
}

.doctor-carousel {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 8px 2px 18px;
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.doctor-carousel::-webkit-scrollbar {
  display: none;
}

.doctor-carousel .doctor-card {
  flex: 0 0 calc((100% - 90px) / 6);
  min-width: 190px;
  min-height: 320px;
  padding: 26px 18px;
  border: 1px solid rgba(11, 78, 135, 0.12);
  background: #FFFFFF;
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.doctor-carousel .doctor-card:hover {
  transform: translateY(-8px);
  border-color: rgba(11, 78, 135, 0.28);
  box-shadow: 0 18px 38px rgba(21, 37, 54, 0.10);
}

.doctor-carousel .doctor-photo {
  width: 112px;
  height: 112px;
  min-width: 112px;
  min-height: 112px;
  max-width: 112px;
  max-height: 112px;
  margin: 0 auto 18px;
  border: 4px solid #FFFFFF;
  box-shadow: 0 12px 28px rgba(11, 78, 135, 0.14);
}

.doctor-carousel h3 {
  margin-bottom: 4px;
  font-size: 20px;
}

.doctor-carousel .tag-list {
  justify-content: center;
  min-height: 58px;
}

.doctor-carousel .btn-small {
  width: auto;
  min-width: 96px;
  border-radius: 999px;
}

@media (max-width: 1180px) {
  .doctor-carousel .doctor-card {
    flex-basis: calc((100% - 54px) / 4);
  }
}

@media (max-width: 768px) {
  .nav-hover-indicator {
    display: none;
  }

  .nav-menu a:not(.btn).is-nav-hovered {
    transform: none;
  }

  .doctor-carousel {
    gap: 14px;
    mask-image: none;
  }

  .doctor-carousel .doctor-card {
    flex-basis: 76%;
    min-width: 240px;
  }
}

/* Services page structure refinement */
.services-page .page-banner {
  background: #0F477D;
}

.services-banner .container {
  display: grid;
  gap: 12px;
}

.page-eyebrow,
.services-page .section-kicker {
  margin: 0;
  color: #2E86D1;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.services-banner .page-eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.services-banner p:last-child {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.service-directory {
  background: #F8FAFB;
}

.service-layout-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 48px;
  align-items: end;
  margin-bottom: 32px;
}

.service-layout-head h2 {
  margin: 8px 0 0;
  color: #1E2B36;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.22;
  letter-spacing: 0;
}

.service-layout-head > p {
  margin: 0;
  color: #5E6B73;
  line-height: 1.9;
}

.service-layout-head-callout {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.service-layout-head-callout > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 0;
}

.service-layout-head-callout > p {
  position: relative;
  display: block;
  min-height: auto;
  max-width: none;
  overflow: hidden;
  padding: 16px 22px 16px 28px;
  border: 1px solid rgba(27, 94, 158, 0.09);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 250, 251, 0.96) 0%, #FFFFFF 100%);
  box-shadow: 0 10px 24px rgba(21, 46, 71, 0.05);
  color: #5A6872;
  font-size: 14px;
  line-height: 1.82;
}

.service-layout-note {
  flex-wrap: wrap;
  gap: 0;
}

.service-layout-note strong {
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(27, 94, 158, 0.08);
  color: #1B5E9E;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.service-layout-note a {
  color: #1B5E9E;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 94, 158, 0.18);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.service-layout-note a:hover {
  color: #0F477D;
  border-color: rgba(15, 71, 125, 0.42);
}

.service-layout-head-callout > p::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: linear-gradient(180deg, rgba(27, 94, 158, 0.48) 0%, rgba(27, 94, 158, 0.08) 100%);
}

.service-layout-head-callout > p::after {
  content: "";
  position: absolute;
  top: -12px;
  right: -12px;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(46, 134, 209, 0.10);
  border-radius: 20px;
  background: rgba(46, 134, 209, 0.028);
  pointer-events: none;
}

.services-page .service-tabs {
  position: sticky;
  top: calc(var(--nav-height, 70px) + 8px);
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 28px;
  padding: 6px;
  overflow: visible;
  border: 1px solid rgba(27, 94, 158, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(31, 57, 78, 0.07);
}

.services-page .tab-button {
  position: relative;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: #344B5F;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.services-page .tab-button:hover,
.services-page .tab-button.is-active {
  color: #1B5E9E;
  background: #EEF6FC;
}

.services-page .tab-button.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: #1B5E9E;
  transform: translateX(-50%);
}

.service-panel {
  display: none;
  opacity: 0;
}

.service-panel.is-active {
  display: block;
  opacity: 1;
  animation: servicePanelIn 0.32s ease both;
}

@keyframes servicePanelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-panel-hero {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 48px;
  align-items: stretch;
  min-height: 420px;
  padding: 32px;
  border: 1px solid rgba(27, 94, 158, 0.10);
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 18px 44px rgba(28, 47, 66, 0.08);
}

.service-visual {
  min-height: 356px;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #EAF0F5;
}

.service-visual img {
  width: 100%;
  height: 100%;
  min-height: 356px;
  object-fit: cover;
  display: block;
}

.service-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.service-label {
  color: #2E86D1;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-summary h2 {
  margin: 14px 0 16px;
  color: #1D2C38;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
}

.service-summary p {
  margin: 0;
  color: #56656E;
  font-size: 17px;
  line-height: 1.95;
}

.service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.service-highlights a {
  text-decoration: none;
}

.service-highlights span {
  padding: 9px 14px;
  border: 1px solid rgba(27, 94, 158, 0.16);
  border-radius: 999px;
  background: #F7FBFE;
  color: #1B5E9E;
  font-size: 14px;
  font-weight: 800;
}

.service-info-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.service-info-grid section {
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(27, 94, 158, 0.10);
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 10px 26px rgba(28, 47, 66, 0.05);
}

.service-info-grid h3 {
  margin: 0 0 18px;
  color: #22313C;
  font-size: 20px;
}

.service-info-grid ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-info-grid li {
  color: #5F6D76;
  line-height: 1.7;
}

.service-info-grid ul li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: #00BFA5;
  vertical-align: 1px;
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-steps li {
  min-height: 126px;
  padding: 18px 14px;
  border-radius: 14px;
  background: #F6FAFD;
}

.service-steps b {
  display: block;
  margin-bottom: 16px;
  color: #1B5E9E;
  font-size: 24px;
  line-height: 1;
}

.service-steps span {
  color: #344B5F;
  font-weight: 800;
  line-height: 1.45;
}

.service-price {
  display: grid;
  gap: 12px;
}

.service-price p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(27, 94, 158, 0.10);
}

.service-price p:last-child {
  border-bottom: 0;
}

.service-price strong {
  color: #344B5F;
}

.service-price span {
  color: #1B5E9E;
  font-weight: 900;
  white-space: nowrap;
}

.service-info-grid .service-note {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: auto;
  background: #0F477D;
}

.service-note h3,
.service-note p {
  margin: 0;
  color: #FFFFFF;
}

.service-note p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.service-note .btn {
  width: auto;
  white-space: nowrap;
  background: #FFFFFF;
  color: #1B5E9E;
}

@media (max-width: 1080px) {
  .service-layout-head,
  .service-panel-hero {
    grid-template-columns: 1fr;
  }

  .services-page .service-tabs {
    display: flex;
    overflow-x: auto;
    top: var(--nav-height, 70px);
  }

  .services-page .tab-button {
    flex: 0 0 auto;
  }

  .service-info-grid {
    grid-template-columns: 1fr;
  }

  .service-info-grid .service-note {
    grid-template-columns: 1fr;
  }

  .service-note .btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .services-banner p:last-child {
    font-size: 15px;
  }

  .service-layout-head {
    gap: 18px;
    margin-bottom: 22px;
  }

  .service-layout-head-callout > p {
    min-height: auto;
    padding: 20px 20px 20px 26px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.9;
  }

  .service-layout-head-callout > p::before {
    left: 14px;
    top: 18px;
    bottom: 18px;
  }

  .service-layout-head-callout > p::after {
    width: 84px;
    height: 84px;
    border-radius: 22px;
  }

  .service-layout-head h2 {
    font-size: 28px;
  }

  .services-page .service-tabs {
    margin-bottom: 18px;
    border-radius: 12px;
  }

  .service-panel-hero {
    gap: 22px;
    min-height: auto;
    padding: 16px;
    border-radius: 18px;
  }

  .service-visual,
  .service-visual img {
    min-height: 220px;
    border-radius: 14px;
  }

  .service-summary h2 {
    font-size: 32px;
  }

  .service-summary p {
    font-size: 15px;
  }

  .service-info-grid section {
    min-height: auto;
    padding: 20px;
    border-radius: 16px;
  }

  .service-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-steps li {
    min-height: 104px;
  }

  .service-price p {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

/* About page refined editorial layout */
.about-page .page-banner {
  background: #0F477D;
}

.about-banner .container {
  display: grid;
  gap: 12px;
}

.about-banner p:last-child {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.about-overview-section {
  background: #FFFFFF;
}

.about-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: 56px;
  align-items: center;
}

.about-overview-copy h2,
.about-section-head h2 {
  margin: 4px 0 0;
  color: #1E2B36;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.18;
  letter-spacing: 0;
}

.about-overview-copy p {
  color: #5E6B73;
  font-size: 16px;
  line-height: 2;
}

.about-overview-copy {
  padding-top: 0;
  margin-top: 0;
  align-self: center;
}

.about-overview-copy p:first-of-type {
  text-indent: 0;
}

.about-overview-visual {
  position: relative;
  min-height: 500px;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #EAF0F5;
  box-shadow: 0 24px 60px rgba(20, 43, 64, 0.14);
  align-self: center;
}

.about-overview-visual::after {
  content: "ABOUT";
  position: absolute;
  right: -10px;
  bottom: -22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(72px, 9vw, 130px);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 0.8;
  pointer-events: none;
}

.about-overview-visual img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.about-signature {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  padding-left: 18px;
  border-left: 4px solid #1B5E9E;
}

.about-signature strong {
  color: #1E2B36;
  font-size: 20px;
}

.about-signature span {
  color: #2E86D1;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-metrics-section {
  padding: 0 0 72px;
  background: #FFFFFF;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(27, 94, 158, 0.12);
  border-bottom: 1px solid rgba(27, 94, 158, 0.12);
}

.about-metrics div {
  display: grid;
  gap: 8px;
  padding: 32px 24px;
  border-right: 1px solid rgba(27, 94, 158, 0.12);
}

.about-metrics div:last-child {
  border-right: 0;
}

.about-metrics strong {
  color: #1B5E9E;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.about-metrics span {
  color: #5E6B73;
  font-weight: 700;
}

.about-philosophy-section,
.about-proof-section {
  background: #F8FAFB;
}

.about-section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.about-section-head p:not(.section-kicker) {
  color: #64717A;
  line-height: 1.9;
}

.about-section-head.compact {
  margin-bottom: 28px;
}

.about-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(27, 94, 158, 0.10);
  border-radius: 24px;
  background: rgba(27, 94, 158, 0.10);
}

.about-value-grid article {
  min-height: 260px;
  padding: 30px 26px;
  background: #FFFFFF;
}

.about-value-grid span {
  color: #2E86D1;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.about-value-grid h3 {
  margin: 42px 0 14px;
  color: #22313C;
  font-size: 22px;
}

.about-value-grid p {
  margin: 0;
  color: #5F6D76;
  line-height: 1.85;
}

.about-timeline-section {
  background: #FFFFFF;
}

.about-timeline-wrap {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.about-timeline-wrap .sticky-head {
  position: sticky;
  top: calc(var(--nav-height, 70px) + 40px);
  margin-bottom: 0;
}

.about-timeline-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(27, 94, 158, 0.12);
}

.about-timeline-list article {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 34px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(27, 94, 158, 0.12);
}

.about-timeline-list time {
  color: #1B5E9E;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.about-timeline-list h3 {
  margin: 0 0 10px;
  color: #22313C;
  font-size: 22px;
}

.about-timeline-list p {
  margin: 0;
  color: #64717A;
  line-height: 1.85;
}

.about-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.proof-card {
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(27, 94, 158, 0.12);
  border-radius: 18px;
  background: #FFFFFF;
}

.proof-card::before {
  content: "CERTIFICATE";
  position: absolute;
  left: 22px;
  top: 22px;
  color: rgba(27, 94, 158, 0.08);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.proof-card span {
  position: relative;
  color: #22313C;
  font-size: 18px;
  font-weight: 900;
}

.about-environment-section {
  background: #FFFFFF;
}

.about-environment-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.about-environment-grid figure {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #EAF0F5;
}

.about-environment-grid figure:first-child {
  grid-row: span 2;
  min-height: 578px;
}

.about-environment-grid img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.about-environment-grid figure:hover img {
  transform: scale(1.04);
}

.about-environment-grid figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1B5E9E;
  font-size: 14px;
  font-weight: 900;
}

@media (max-width: 1080px) {
  .about-overview,
  .about-timeline-wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-timeline-wrap .sticky-head {
    position: static;
  }

  .about-value-grid,
  .about-proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-banner p:last-child {
    font-size: 15px;
  }

  .about-overview-copy h2,
  .about-section-head h2 {
    font-size: 30px;
  }

  .about-overview-visual,
  .about-overview-visual img {
    min-height: 260px;
    border-radius: 18px;
  }

  .about-metrics-section {
    padding-bottom: 50px;
  }

  .about-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-metrics div {
    padding: 22px 18px;
  }

  .about-metrics div:nth-child(2) {
    border-right: 0;
  }

  .about-metrics div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(27, 94, 158, 0.12);
  }

  .about-value-grid,
  .about-proof-grid,
  .about-environment-grid {
    grid-template-columns: 1fr;
  }

  .about-value-grid article {
    min-height: auto;
    padding: 24px 20px;
  }

  .about-value-grid h3 {
    margin-top: 28px;
  }

  .about-timeline-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-environment-grid figure,
  .about-environment-grid figure:first-child {
    min-height: 230px;
    grid-row: auto;
  }
}

/* About environment gallery compact tuning */
.about-environment-section {
  padding-top: 64px;
}

.about-environment-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-environment-grid figure,
.about-environment-grid figure:first-child {
  min-height: 0;
  height: auto;
  aspect-ratio: 4 / 3;
  grid-row: auto;
  border-radius: 16px;
}

.about-environment-grid img {
  min-height: 0;
  height: 100%;
}

.about-environment-grid figcaption {
  left: 12px;
  bottom: 12px;
  padding: 7px 11px;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .about-environment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .about-environment-section {
    padding-top: 50px;
  }

  .about-environment-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-environment-grid figure,
  .about-environment-grid figure:first-child {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

/* About environment auto carousel */
.about-environment-carousel {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 18px;
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.about-environment-carousel::-webkit-scrollbar {
  display: none;
}

.about-environment-carousel figure,
.about-environment-carousel figure:first-child {
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 260px;
  min-height: 0;
  aspect-ratio: 4 / 3;
  grid-row: auto;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(28, 47, 66, 0.08);
}

.about-environment-carousel img {
  min-height: 0;
  height: 100%;
}

@media (max-width: 1080px) {
  .about-environment-carousel figure,
  .about-environment-carousel figure:first-child {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 768px) {
  .about-environment-carousel {
    gap: 14px;
    mask-image: none;
  }

  .about-environment-carousel figure,
  .about-environment-carousel figure:first-child {
    flex-basis: 82%;
    min-width: 260px;
    aspect-ratio: 16 / 10;
  }
}

/* Services detail image scale tuning */
.service-panel-hero {
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 36px;
  min-height: 0;
  padding: 24px;
  border-radius: 20px;
}

.service-visual {
  min-height: 0;
  height: 320px;
  border-radius: 16px;
}

.service-visual img {
  min-height: 0;
  height: 100%;
}

.service-summary h2 {
  margin: 10px 0 12px;
  font-size: clamp(30px, 3.4vw, 46px);
}

.service-summary p {
  font-size: 16px;
  line-height: 1.85;
}

.service-highlights {
  margin-top: 20px;
}

@media (max-width: 1080px) {
  .service-panel-hero {
    grid-template-columns: 1fr;
  }

  .service-visual {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .service-panel-hero {
    gap: 18px;
    padding: 14px;
  }

  .service-visual,
  .service-visual img {
    height: 210px;
    min-height: 0;
    border-radius: 12px;
  }

  .service-summary h2 {
    font-size: 30px;
  }
}

/* About page compact typography and rhythm */
.about-page .section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.about-banner {
  min-height: 220px;
}

.about-banner h1 {
  font-size: clamp(34px, 4vw, 48px);
}

.about-banner p:last-child {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.65;
}

.about-overview {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 42px;
}

.about-overview-copy h2,
.about-section-head h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.24;
}

.about-overview-copy p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.82;
}

.about-overview-visual,
.about-overview-visual img {
  min-height: 380px;
}

.about-overview-visual::after {
  font-size: clamp(54px, 7vw, 96px);
  bottom: -14px;
}

.about-signature {
  margin-top: 22px;
}

.about-signature strong {
  font-size: 18px;
}

.about-metrics-section {
  padding-bottom: 48px;
}

.about-metrics div {
  padding: 24px 22px;
}

.about-metrics strong {
  font-size: clamp(28px, 3vw, 40px);
}

.about-section-head {
  max-width: 680px;
  margin-bottom: 28px;
}

.about-section-head p:not(.section-kicker) {
  font-size: 15px;
  line-height: 1.75;
}

.about-value-grid article {
  min-height: 210px;
  padding: 24px 22px;
}

.about-value-grid h3 {
  margin: 30px 0 10px;
  font-size: 19px;
}

.about-value-grid p {
  font-size: 14px;
  line-height: 1.75;
}

.about-timeline-wrap {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 48px;
}

.about-timeline-list article {
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 26px;
  padding: 22px 0;
}

.about-timeline-list time {
  font-size: 24px;
}

.about-timeline-list h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.about-timeline-list p {
  font-size: 14px;
  line-height: 1.72;
}

.proof-card {
  min-height: 138px;
  padding: 20px;
  border-radius: 14px;
}

.proof-card::before {
  left: 18px;
  top: 18px;
  font-size: 24px;
}

.proof-card span {
  font-size: 16px;
}

.about-environment-section {
  padding-top: 52px;
}

.about-environment-carousel figure,
.about-environment-carousel figure:first-child {
  min-width: 230px;
}

@media (max-width: 1080px) {
  .about-overview,
  .about-timeline-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .about-page .section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .about-banner {
    min-height: 190px;
  }

  .about-banner h1 {
    font-size: 30px;
  }

  .about-overview-copy h2,
  .about-section-head h2 {
    font-size: 26px;
  }

  .about-overview-visual,
  .about-overview-visual img {
    min-height: 230px;
  }

  .about-metrics-section {
    padding-bottom: 36px;
  }

  .about-metrics div {
    padding: 18px 16px;
  }

  .about-metrics strong {
    font-size: 28px;
  }

  .about-value-grid article {
    padding: 20px 18px;
  }

  .about-timeline-list article {
    padding: 18px 0;
  }

  .proof-card {
    min-height: 112px;
  }
}

/* Unified compact secondary pages */
.doctors-page .section,
.cases-page .section,
.contact-page .section,
.services-page .section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.doctors-banner,
.cases-banner,
.contact-banner,
.services-banner {
  min-height: 220px;
  background: #0F477D;
}

.doctors-banner .container,
.cases-banner .container,
.contact-banner .container,
.services-banner .container {
  display: grid;
  gap: 10px;
}

.doctors-banner h1,
.cases-banner h1,
.contact-banner h1,
.services-banner h1 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
}

.doctors-banner p:last-child,
.cases-banner p:last-child,
.contact-banner p:last-child,
.services-banner p:last-child {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.65;
}

.doctors-page .filter-bar,
.cases-page .filter-bar {
  margin-bottom: 28px;
  padding: 6px;
  border: 1px solid rgba(27, 94, 158, 0.12);
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 10px 24px rgba(28, 47, 66, 0.06);
}

.doctors-page .filter-button,
.cases-page .filter-button {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
}

.doctor-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.doctors-page .doctor-card {
  min-height: 0;
  padding: 24px 22px;
  border: 1px solid rgba(27, 94, 158, 0.10);
  box-shadow: 0 10px 26px rgba(28, 47, 66, 0.06);
}

.doctors-page .doctor-photo {
  width: 104px;
  height: 104px;
  min-width: 104px;
  min-height: 104px;
  margin-bottom: 14px;
}

.doctors-page .doctor-card h3 {
  margin-bottom: 4px;
  font-size: 22px;
}

.doctors-page .doctor-card > p {
  margin: 0 0 12px;
  font-size: 14px;
}

.doctors-page .doctor-summary {
  min-height: 44px;
  font-size: 14px;
  line-height: 1.65;
}

.doctors-page .tag-list {
  gap: 6px;
  min-height: 52px;
}

.doctors-page .tag-list span {
  padding: 5px 9px;
  font-size: 12px;
}

.case-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cases-page .case-card {
  padding: 14px;
  border: 1px solid rgba(27, 94, 158, 0.10);
  box-shadow: 0 10px 26px rgba(28, 47, 66, 0.06);
}

.cases-page .case-compare {
  gap: 8px;
  height: 160px;
  margin-bottom: 14px;
}

.cases-page .case-compare img {
  height: 100%;
  border-radius: 12px;
}

.cases-page .case-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.cases-page .case-card p {
  margin: 0;
  font-size: 14px;
}

.contact-page .contact-layout {
  align-items: stretch;
  gap: 20px;
}

.contact-page .contact-info,
.contact-page .contact-form {
  padding: 28px;
  border: 1px solid rgba(27, 94, 158, 0.10);
  box-shadow: 0 10px 26px rgba(28, 47, 66, 0.06);
}

.contact-page .contact-info h2,
.contact-page .contact-form h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.contact-page .contact-info p,
.contact-page .route-list p {
  font-size: 15px;
  line-height: 1.75;
}

.contact-page .form-group {
  margin-bottom: 14px;
}

.contact-page input,
.contact-page select,
.contact-page textarea {
  min-height: 44px;
  font-size: 14px;
}

.contact-page textarea {
  min-height: 112px;
}

.contact-page .map-placeholder {
  height: 300px;
  border-radius: 18px;
}

.contact-page .route-list .section-title {
  font-size: 30px;
}

@media (max-width: 1080px) {
  .doctor-list-grid,
  .case-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .doctors-page .section,
  .cases-page .section,
  .contact-page .section,
  .services-page .section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .doctors-banner,
  .cases-banner,
  .contact-banner,
  .services-banner {
    min-height: 190px;
  }

  .doctors-banner h1,
  .cases-banner h1,
  .contact-banner h1,
  .services-banner h1 {
    font-size: 30px;
  }

  .doctors-banner p:last-child,
  .cases-banner p:last-child,
  .contact-banner p:last-child,
  .services-banner p:last-child {
    font-size: 15px;
  }

  .doctors-page .filter-bar,
  .cases-page .filter-bar {
    overflow-x: auto;
    justify-content: flex-start;
    margin-bottom: 20px;
    scrollbar-width: none;
  }

  .doctors-page .filter-bar::-webkit-scrollbar,
  .cases-page .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .doctors-page .filter-button,
  .cases-page .filter-button {
    flex: 0 0 auto;
  }

  .doctor-list-grid,
  .case-list-grid,
  .contact-page .contact-layout {
    grid-template-columns: 1fr;
  }

  .doctors-page .doctor-card,
  .contact-page .contact-info,
  .contact-page .contact-form {
    padding: 22px 18px;
  }

  .cases-page .case-compare {
    height: 150px;
  }

  .contact-page .map-placeholder {
    height: 220px;
  }
}

/* About timeline auto vertical carousel */
.about-timeline-carousel {
  position: relative;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 10px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.about-timeline-carousel::-webkit-scrollbar {
  display: none;
}

.about-timeline-carousel article {
  min-height: 118px;
}

.about-timeline-carousel article[aria-hidden="true"] {
  pointer-events: none;
}

.about-timeline-wrap {
  align-items: center;
}

.about-timeline-wrap .sticky-head {
  position: static;
}

@media (max-width: 768px) {
  .about-timeline-carousel {
    max-height: 330px;
    padding-right: 0;
  }

  .about-timeline-carousel article {
    min-height: 128px;
  }
}

/* Timeline stepped auto-scroll effects */
.about-timeline-carousel {
  max-height: 318px;
  padding: 6px 14px 6px 0;
  scroll-snap-type: y mandatory;
}

.about-timeline-carousel article {
  position: relative;
  min-height: 106px;
  padding: 18px 20px 18px 0;
  scroll-snap-align: start;
  transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.about-timeline-carousel article::before {
  content: "";
  position: absolute;
  left: 105px;
  top: 20px;
  bottom: 20px;
  width: 3px;
  border-radius: 999px;
  background: rgba(27, 94, 158, 0.12);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.about-timeline-carousel article.is-current {
  padding-left: 14px;
  border-radius: 18px;
  background: #F3F8FC;
  box-shadow: inset 0 0 0 1px rgba(27, 94, 158, 0.12), 0 12px 26px rgba(28, 47, 66, 0.07);
  transform: translateX(4px);
}

.about-timeline-carousel article.is-current::before {
  background: #1B5E9E;
  box-shadow: 0 0 0 6px rgba(27, 94, 158, 0.08);
}

.about-timeline-carousel article.is-current time {
  color: #FFFFFF;
  background: #1B5E9E;
  box-shadow: 0 10px 22px rgba(27, 94, 158, 0.22);
}

.about-timeline-carousel time {
  width: 72px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #EEF6FC;
  transition: color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.about-timeline-carousel h3,
.about-timeline-carousel p {
  transition: color 0.35s ease;
}

.about-timeline-carousel article.is-current h3 {
  color: #123F68;
}

@media (max-width: 768px) {
  .about-timeline-carousel {
    max-height: 300px;
    padding-right: 0;
  }

  .about-timeline-carousel article {
    min-height: 112px;
    padding-right: 12px;
  }

  .about-timeline-carousel article::before {
    display: none;
  }
}

/* Timeline visibility fix after JS cleanup */
.about-timeline-carousel {
  height: 318px;
  max-height: 318px;
  overflow: hidden;
}

.about-timeline-list.about-timeline-carousel {
  border-top: 0;
}

.about-timeline-carousel article {
  box-sizing: border-box;
  border-bottom: 1px solid rgba(27, 94, 158, 0.12);
}

.about-timeline-carousel::after {
  content: "AUTO SCROLL";
  position: absolute;
  right: 12px;
  top: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(27, 94, 158, 0.10);
  color: #1B5E9E;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

@media (max-width: 768px) {
  .about-timeline-carousel {
    height: 300px;
    max-height: 300px;
  }
}

/* Home doctor carousel alignment refinement */
.home-page .doctors-section .doctor-carousel,
.index-page .doctors-section .doctor-carousel,
.doctors-section .doctor-carousel {
  align-items: stretch;
  padding-top: 10px;
  padding-bottom: 22px;
}

.doctors-section .doctor-carousel .doctor-card {
  display: grid;
  grid-template-rows: 118px 34px 26px 62px 40px;
  align-items: start;
  justify-items: center;
  min-height: 308px;
  padding: 24px 16px 20px;
  text-align: center;
}

.doctors-section .doctor-carousel .doctor-photo {
  width: 106px;
  height: 106px;
  min-width: 106px;
  min-height: 106px;
  max-width: 106px;
  max-height: 106px;
  margin: 0 auto 12px;
  align-self: start;
}

.doctors-section .doctor-carousel h3 {
  width: 100%;
  margin: 0;
  color: #22313C;
  font-size: 20px;
  line-height: 34px;
}

.doctors-section .doctor-carousel .doctor-card > p:not(.doctor-summary) {
  width: 100%;
  margin: 0;
  color: #2E86D1;
  font-size: 14px;
  font-weight: 800;
  line-height: 26px;
}

.doctors-section .doctor-carousel .tag-list {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
}

.doctors-section .doctor-carousel .tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.doctors-section .doctor-carousel .btn-small {
  align-self: end;
  min-width: 88px;
  height: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  margin: 0;
}

@media (max-width: 768px) {
  .doctors-section .doctor-carousel .doctor-card {
    grid-template-rows: 112px 32px 24px 58px 38px;
    min-height: 288px;
    padding: 22px 16px 18px;
  }

  .doctors-section .doctor-carousel .doctor-photo {
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
  }
}

/* Home section action links refinement */
.doctors-section .section-link,
.cases-section .section-link {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.doctors-section .section-link a,
.cases-section .section-link a {
  min-width: 178px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border: 1px solid rgba(27, 94, 158, 0.22);
  border-radius: 999px;
  background: #FFFFFF;
  color: #1B5E9E;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(28, 47, 66, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.doctors-section .section-link a:hover,
.cases-section .section-link a:hover {
  transform: translateY(-3px);
  background: #1B5E9E;
  color: #FFFFFF;
  box-shadow: 0 16px 34px rgba(27, 94, 158, 0.18);
}

.cases-section .section-link {
  margin-top: 32px;
}

@media (max-width: 768px) {
  .doctors-section .section-link,
  .cases-section .section-link {
    margin-top: 22px;
  }

  .doctors-section .section-link a,
  .cases-section .section-link a {
    width: 100%;
    min-height: 46px;
  }
}

/* Home section alignment system */
#home .section:not(.stats-section) > .container,
#home .cta-section > .container,
.home-main .section:not(.stats-section) > .container {
  width: min(100% - 48px, 1200px);
}

#home .section-heading,
.services-section .section-heading,
.doctors-section .section-heading,
.cases-section .section-heading {
  width: min(100%, 760px);
  margin: 0 auto 34px;
  text-align: center;
}

#home .section-heading .section-kicker,
.services-section .section-heading .section-kicker,
.doctors-section .section-heading .section-kicker,
.cases-section .section-heading .section-kicker {
  display: block;
  margin-bottom: 8px;
}

#home .section-title,
.services-section .section-title,
.doctors-section .section-title,
.cases-section .section-title {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.18;
}

#home .section-heading p,
.services-section .section-heading p,
.doctors-section .section-heading p,
.cases-section .section-heading p {
  max-width: 680px;
  margin: 14px auto 0;
  color: #64717A;
  font-size: 16px;
  line-height: 1.75;
}

.services-section .services-grid,
.cases-section .cases-grid {
  margin-top: 0;
}

.services-section .services-grid,
.doctors-section .doctor-carousel,
.cases-section .cases-grid {
  width: 100%;
}

.doctors-section .doctor-carousel {
  margin-top: 0;
}

.doctors-section .section-link,
.cases-section .section-link {
  width: 100%;
  margin: 30px auto 0;
  justify-content: center;
}

.doctors-section .section-link a,
.cases-section .section-link a {
  min-width: 188px;
}

.cases-section .case-card {
  height: 100%;
}

.cases-section .case-card h3 {
  min-height: 28px;
}

.about-section .about-inner {
  width: min(100% - 48px, 1200px);
  margin-left: auto;
  margin-right: auto;
}

.about-section .section-heading.section-heading-left {
  width: 100%;
  margin: 0 0 26px;
  text-align: left;
}

.about-section .section-heading.section-heading-left p {
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 768px) {
  #home .section:not(.stats-section) > .container,
  #home .cta-section > .container,
  .about-section .about-inner {
    width: min(100% - 32px, 1200px);
  }

  #home .section-heading,
  .services-section .section-heading,
  .doctors-section .section-heading,
  .cases-section .section-heading {
    margin-bottom: 24px;
  }

  #home .section-title,
  .services-section .section-title,
  .doctors-section .section-title,
  .cases-section .section-title {
    font-size: 28px;
  }

  #home .section-heading p,
  .services-section .section-heading p,
  .doctors-section .section-heading p,
  .cases-section .section-heading p {
    font-size: 15px;
  }

  .doctors-section .section-link,
  .cases-section .section-link {
    margin-top: 22px;
  }
}

/* Final CTA and footer redesign */
#home .cta-section,
.cta-section {
  padding: 58px 0;
  background: #0F477D;
}

#home .cta-inner,
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  min-height: 0;
}

.cta-copy {
  display: grid;
  gap: 8px;
}

.cta-copy span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.cta-copy h2,
.cta-inner h2 {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.22;
}

.cta-copy p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-actions .button,
.cta-inner .button-light,
.cta-inner .button-outline-light {
  min-width: 132px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.cta-inner .button-light {
  border: 1px solid #FFFFFF;
  background: #FFFFFF;
  color: #0F477D;
}

.cta-inner .button-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #FFFFFF;
}

.cta-actions .button:hover {
  transform: translateY(-3px);
}

.site-footer {
  background: #0B1F30;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) minmax(140px, 0.8fr) minmax(220px, 1.1fr) minmax(140px, 0.7fr);
  gap: 44px;
  align-items: start;
  padding: 54px 0 42px;
}

.site-footer .footer-column {
  min-width: 0;
}

.site-footer .footer-column .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #FFFFFF;
  font-size: 20px;
  line-height: 1.25;
}

.site-footer .logo-mark {
  width: 54px;
  height: 40px;
  min-width: 54px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 10px;
  padding: 4px;
}

.site-footer .footer-column p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.8;
}

.site-footer .footer-column p + p {
  margin-top: 8px;
}

.site-footer .footer-column h3 {
  margin: 0 0 16px;
  color: #FFFFFF;
  font-size: 16px;
  line-height: 1.4;
}

.site-footer .footer-column ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer-column li + li {
  margin-top: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer a:hover {
  color: #FFFFFF;
}

.site-footer .qr-placeholder {
  width: 112px;
  height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.58);
}

.site-footer .footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.10);
  text-align: center;
}

.site-footer .footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

@media (max-width: 980px) {
  #home .cta-inner,
  .cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-actions {
    justify-content: center;
  }

  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  #home .cta-section,
  .cta-section {
    padding: 42px 0;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-actions .button,
  .cta-inner .button-light,
  .cta-inner .button-outline-light {
    width: 100%;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 40px 0 32px;
  }

  .site-footer .footer-column .logo {
    font-size: 18px;
  }
}

/* Contact page structured redesign */
.contact-primary-section {
  background: #F8FAFB;
}

.contact-primary-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  gap: 22px;
  align-items: stretch;
}

.contact-info-panel,
.contact-form-panel,
.contact-route-card {
  border: 1px solid rgba(27, 94, 158, 0.10);
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: 0 14px 34px rgba(28, 47, 66, 0.07);
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: #0F477D;
  color: #FFFFFF;
}

.contact-info-panel .section-kicker,
.contact-info-panel h2,
.contact-info-panel p {
  color: #FFFFFF;
}

.contact-info-panel h2,
.contact-form-head h2,
.route-panel h2 {
  margin: 8px 0 22px;
  color: #1E2B36;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.22;
}

.contact-info-panel h2 {
  color: #FFFFFF;
}

.contact-info-list {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.contact-info-list div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-info-list span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 900;
}

.contact-info-list p {
  margin: 0;
  line-height: 1.75;
}

.contact-wechat {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: auto;
  padding-top: 28px;
}

.contact-wechat .qr-placeholder {
  width: 104px;
  height: 104px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.68);
}

.contact-wechat p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.75;
}

.contact-form-panel {
  padding: 32px;
}

.contact-form-head {
  margin-bottom: 22px;
}

.contact-form-head h2,
.route-panel h2 {
  margin-bottom: 10px;
}

.contact-form-head p {
  margin: 0;
  color: #64717A;
  line-height: 1.75;
}

.contact-page .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-page .form-group.full {
  grid-column: 1 / -1;
}

.contact-page .form-group {
  margin-bottom: 0;
}

.contact-page .form-group label {
  margin-bottom: 8px;
  color: #344B5F;
  font-weight: 800;
}

.contact-page input,
.contact-page select,
.contact-page textarea {
  width: 100%;
  border: 1px solid rgba(27, 94, 158, 0.14);
  border-radius: 12px;
  background: #F8FAFB;
}

.contact-form-panel .btn {
  width: auto;
  min-width: 150px;
  margin-top: 20px;
  border-radius: 999px;
}

.contact-route-section {
  padding-top: 0;
  background: #F8FAFB;
}

.contact-route-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 0;
  overflow: hidden;
}

.contact-route-card .map-panel {
  min-height: 360px;
  border: 0;
  border-radius: 0;
  background: #E8EEF3;
  color: #7B8A95;
}

.route-panel {
  padding: 34px;
}

.route-item {
  padding: 18px 0;
  border-top: 1px solid rgba(27, 94, 158, 0.10);
}

.route-item strong {
  display: block;
  margin-bottom: 6px;
  color: #1B5E9E;
  font-size: 16px;
}

.route-item p {
  margin: 0;
  color: #5E6B73;
  line-height: 1.75;
}

@media (max-width: 980px) {
  .contact-primary-layout,
  .contact-route-card {
    grid-template-columns: 1fr;
  }

  .contact-route-card .map-panel {
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  .contact-info-panel,
  .contact-form-panel,
  .route-panel {
    padding: 24px 18px;
  }

  .contact-page .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-panel .btn {
    width: 100%;
  }

  .contact-wechat {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .contact-wechat .qr-placeholder {
    width: 88px;
    height: 88px;
  }
}

/* Global typography and alignment final audit */
body {
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #636E72;
  letter-spacing: 0;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.page-banner h1 {
  color: #2D3436;
  letter-spacing: 0;
}

.page-banner,
.about-banner,
.services-banner,
.doctors-banner,
.cases-banner,
.contact-banner {
  min-height: 220px;
  height: auto;
  display: flex;
  align-items: center;
  background: #0F477D;
  text-align: left;
}

.page-banner .container,
.about-banner .container,
.services-banner .container,
.doctors-banner .container,
.cases-banner .container,
.contact-banner .container {
  width: min(100% - 48px, 1200px);
  display: grid;
  gap: 10px;
  margin-left: auto;
  margin-right: auto;
}

.page-banner h1,
.about-banner h1,
.services-banner h1,
.doctors-banner h1,
.cases-banner h1,
.contact-banner h1 {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
}

.page-banner p:not(.page-eyebrow),
.about-banner p:not(.page-eyebrow),
.services-banner p:not(.page-eyebrow),
.doctors-banner p:not(.page-eyebrow),
.cases-banner p:not(.page-eyebrow),
.contact-banner p:not(.page-eyebrow) {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.65;
}

.page-eyebrow,
.section-kicker,
.section-heading .section-kicker {
  margin: 0;
  color: #2E86D1;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.page-banner .page-eyebrow,
.about-banner .page-eyebrow,
.services-banner .page-eyebrow,
.doctors-banner .page-eyebrow,
.cases-banner .page-eyebrow,
.contact-banner .page-eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.about-page .section,
.services-page .section,
.doctors-page .section,
.cases-page .section,
.contact-page .section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.about-page .container,
.services-page .container,
.doctors-page .container,
.cases-page .container,
.contact-page .container {
  width: min(100% - 48px, 1200px);
}

.about-page p,
.services-page p,
.doctors-page p,
.cases-page p,
.contact-page p,
.about-page li,
.services-page li,
.doctors-page li,
.cases-page li,
.contact-page li {
  font-size: 15px;
  line-height: 1.78;
}

.about-section-head h2,
.service-layout-head h2,
.contact-form-head h2,
.route-panel h2,
.contact-info-panel h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.24;
}

.card,
.service-panel-hero,
.service-info-grid section,
.contact-info-panel,
.contact-form-panel,
.contact-route-card,
.proof-card {
  box-sizing: border-box;
}

.site-footer .footer-grid {
  width: min(100% - 48px, 1200px);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .page-banner,
  .about-banner,
  .services-banner,
  .doctors-banner,
  .cases-banner,
  .contact-banner {
    min-height: 190px;
  }

  .page-banner .container,
  .about-banner .container,
  .services-banner .container,
  .doctors-banner .container,
  .cases-banner .container,
  .contact-banner .container,
  .about-page .container,
  .services-page .container,
  .doctors-page .container,
  .cases-page .container,
  .contact-page .container,
  .site-footer .footer-grid {
    width: min(100% - 32px, 1200px);
  }

  .page-banner h1,
  .about-banner h1,
  .services-banner h1,
  .doctors-banner h1,
  .cases-banner h1,
  .contact-banner h1 {
    font-size: 30px;
  }

  .about-page .section,
  .services-page .section,
  .doctors-page .section,
  .cases-page .section,
  .contact-page .section {
    padding-top: 42px;
    padding-bottom: 42px;
  }
}

/* Hero brand word and image layering refinement */
.hero {
  isolation: isolate;
}

.hero-brand-word {
  left: 50%;
  right: auto;
  top: 50%;
  z-index: 1;
  width: max-content;
  font-size: clamp(96px, 17vw, 230px);
  letter-spacing: 0;
  opacity: 0.72;
  transform: translate(-12%, -54%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-inner {
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-image.photo-cover {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  justify-self: end;
  height: 390px;
  border-radius: 28px;
  opacity: 0.94;
  box-shadow: 0 24px 58px rgba(6, 24, 43, 0.26);
  object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 100%);
}

@media (max-width: 1080px) {
  .hero-brand-word {
    transform: translate(-24%, -56%);
    font-size: clamp(82px, 18vw, 170px);
  }

  .hero-image.photo-cover {
    width: 100%;
    height: 330px;
  }
}

@media (max-width: 768px) {
  .hero-brand-word {
    left: 24px;
    top: 96px;
    font-size: 72px;
    opacity: 0.35;
    transform: none;
  }

  .hero-image.photo-cover {
    display: none;
  }
}

/* Footer logo visibility fix */
.site-footer .logo-mark {
  filter: none !important;
  opacity: 1;
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 5px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.site-footer .logo span {
  color: #FFFFFF;
}

/* Unified refreshed logo assets */
.logo-mark {
  object-fit: contain;
  object-position: center;
}

.site-header .logo-mark {
  filter: none !important;
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.site-footer .logo-mark {
  filter: none !important;
  opacity: 1;
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 5px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.not-found-logo {
  width: 150px;
  height: auto;
  display: block;
  margin: 0 auto 18px;
}

/* Vector logo replacement tuning */
.logo-mark {
  content: url("../images/brand-logo.svg");
}

.site-header .logo-mark {
  width: 104px;
  height: 56px;
}

.site-footer .logo-mark {
  width: 72px;
  height: 44px;
  padding: 6px;
}

.not-found-logo {
  content: url("images/brand-logo.svg");
}

@media (max-width: 980px) {
  .site-header .logo-mark {
    width: 74px;
    height: 42px;
  }
}

/* Final provided combined logo replacement */
.logo {
  gap: 0;
}

.logo span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.logo-mark,
.site-header .logo-mark,
.site-footer .logo-mark {
  content: url("../images/better-logo-final-combined.png?v=specialty-hospital-larger-20260603") !important;
  filter: none !important;
  object-fit: contain;
  object-position: left center;
  opacity: 1;
}

.site-header .logo-mark {
  width: 360px;
  height: 78px;
  max-width: 38vw;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.site-footer .logo-mark {
  width: 280px;
  height: 82px;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #FFFFFF;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.not-found-logo {
  content: url("images/better-logo-final-combined.png?v=specialty-hospital-larger-20260603") !important;
  width: min(360px, 82vw);
  height: auto;
}

@media (max-width: 1280px) {
  .site-header .logo-mark {
    width: 310px;
    height: 68px;
    max-width: 34vw;
  }
}

@media (max-width: 980px) {
  .site-header .logo-mark {
    width: 238px;
    height: 54px;
    max-width: calc(100vw - 110px);
  }

  .site-footer .logo-mark {
    width: 240px;
    height: 70px;
  }
}

@media (max-width: 420px) {
  .site-header .logo-mark {
    width: 205px;
    height: 48px;
  }
}

/* Combined logo scale upgrade */
.site-header .logo-mark {
  width: 460px;
  height: 92px;
  max-width: 42vw;
}

.site-header .logo {
  flex: 0 0 auto;
}

.site-footer .logo-mark {
  width: 360px;
  height: 96px;
  max-width: 100%;
}

.not-found-logo {
  width: min(460px, 86vw);
}

@media (max-width: 1280px) {
  .site-header .logo-mark {
    width: 390px;
    height: 82px;
    max-width: 38vw;
  }
}

@media (max-width: 1080px) {
  .site-header .logo-mark {
    width: 330px;
    height: 72px;
    max-width: calc(100vw - 110px);
  }
}

@media (max-width: 768px) {
  .site-header .logo-mark {
    width: 260px;
    height: 58px;
  }

  .site-footer .logo-mark {
    width: 300px;
    height: 82px;
  }
}

@media (max-width: 420px) {
  .site-header .logo-mark {
    width: 228px;
    height: 52px;
  }
}

/* Judged logo sizing for header/footer balance */
.site-header .logo-mark {
  width: 410px;
  height: 76px;
  max-width: 36vw;
}

.site-header .logo {
  min-width: 0;
  flex: 0 1 auto;
}

.nav-inner {
  gap: 28px;
}

.nav-menu {
  min-width: 0;
}

.site-footer .logo-mark {
  width: 320px;
  height: 82px;
}

@media (max-width: 1280px) {
  .site-header .logo-mark {
    width: 350px;
    height: 68px;
    max-width: 34vw;
  }

  .nav-menu {
    gap: 20px;
  }
}

@media (max-width: 1080px) {
  .site-header .logo-mark {
    width: 300px;
    height: 60px;
    max-width: calc(100vw - 106px);
  }
}

@media (max-width: 768px) {
  .site-header .logo-mark {
    width: 240px;
    height: 52px;
  }

  .site-footer .logo-mark {
    width: 280px;
    height: 74px;
  }
}

@media (max-width: 390px) {
  .site-header .logo-mark {
    width: 214px;
    height: 48px;
  }
}

/* Header logo final enlargement */
.site-header .logo-mark {
  width: 500px;
  height: 92px;
  max-width: 43vw;
}

.nav-inner {
  gap: 22px;
}

.nav-menu {
  gap: 18px;
}

.nav-menu a:not(.btn) {
  font-size: 14px;
}

@media (max-width: 1280px) {
  .site-header .logo-mark {
    width: 420px;
    height: 82px;
    max-width: 40vw;
  }
}

@media (max-width: 1080px) {
  .site-header .logo-mark {
    width: 330px;
    height: 66px;
    max-width: calc(100vw - 108px);
  }
}

@media (max-width: 768px) {
  .site-header .logo-mark {
    width: 260px;
    height: 56px;
  }
}

@media (max-width: 390px) {
  .site-header .logo-mark {
    width: 226px;
    height: 50px;
  }
}

/* Header height balanced to right-sized logo */
:root {
  --nav-height: 78px;
}

.site-header {
  height: var(--nav-height);
}

.nav-inner {
  min-height: var(--nav-height);
}

.site-header .logo-mark {
  width: 620px;
  height: 112px;
  max-width: 52vw;
}

.nav-menu {
  gap: 14px;
}

.nav-menu a:not(.btn) {
  font-size: 13px;
  min-width: 52px;
}

.nav-menu small {
  font-size: 9px;
}

.nav-menu .btn {
  padding-left: 18px;
  padding-right: 18px;
}

@media (max-width: 1280px) {
  .site-header .logo-mark {
    width: 520px;
    height: 100px;
    max-width: 48vw;
  }
}

@media (max-width: 1080px) {
  :root {
    --nav-height: 66px;
  }

  .site-header .logo-mark {
    width: 224px;
    height: 43px;
    max-width: calc(100vw - 110px);
  }
}

@media (max-width: 768px) {
  .site-header .logo-mark {
    width: 286px;
    height: 62px;
  }
}

@media (max-width: 390px) {
  .site-header .logo-mark {
    width: 244px;
    height: 54px;
  }
}

/* Header navigation balance after large logo */
.site-header .nav-inner {
  width: min(100% - 40px, 1440px);
  gap: 28px;
}

.site-header .nav-menu {
  gap: 24px;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.site-header .nav-menu a:not(.btn) {
  min-width: auto;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  color: #22384D;
}

.site-header .nav-menu small {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #8C9AA8;
}

.site-header .nav-menu .btn {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 1380px) {
  .site-header .nav-menu {
    gap: 18px;
  }

  .site-header .nav-menu a:not(.btn) {
    font-size: 15px;
  }

  .site-header .nav-menu .btn {
    padding: 0 18px;
  }
}

@media (max-width: 1180px) {
  .site-header .nav-menu {
    gap: 14px;
  }

  .site-header .nav-menu a:not(.btn) {
    font-size: 14px;
  }

  .site-header .nav-menu small {
    font-size: 9px;
  }
}

@media (max-width: 980px) {
  .site-header .nav-menu a:not(.btn) {
    font-size: 16px;
  }

  .site-header .nav-menu small {
    font-size: 10px;
  }
}

/* Right-sized combined logo (aspect ratio ~5.25:1, PC + mobile) */
.site-header .logo-mark {
  width: 268px;
  height: 51px;
  max-width: 40vw;
  object-fit: contain;
  object-position: left center;
}

.site-footer .logo-mark {
  width: 240px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.not-found-logo {
  width: min(300px, 82vw);
}

@media (max-width: 1280px) {
  .site-header .logo-mark {
    width: 244px;
    height: 46px;
    max-width: 34vw;
  }
}

@media (max-width: 1080px) {
  .site-header .logo-mark {
    width: 224px;
    height: 43px;
    max-width: calc(100vw - 110px);
  }
}

@media (max-width: 768px) {
  .site-header .logo-mark {
    width: 200px;
    height: 38px;
  }

  .site-footer .logo-mark {
    width: 210px;
    height: 40px;
  }
}

@media (max-width: 390px) {
  .site-header .logo-mark {
    width: 176px;
    height: 34px;
  }

  .site-footer .logo-mark {
    width: 190px;
    height: 36px;
  }
}

/* Home department navigation block based on reference layout */
.department-nav-section {
  background: #FFFFFF;
}

.department-nav-section .container {
  width: min(100% - 48px, 1200px);
}

.department-nav-heading {
  margin-bottom: 32px;
  border-bottom: 1px solid #D8DEE4;
}

.department-nav-heading h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 10px 18px 6px;
  color: #0877F2;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.15;
}

.department-nav-heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 96%;
  height: 5px;
  background: #0877F2;
}

.department-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 22px;
}

.department-nav-card {
  min-height: 152px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 18px;
  background: #F3F8FC;
  color: #56616B;
  border: 1px solid transparent;
  text-align: center;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.department-nav-card:hover {
  transform: translateY(-6px);
  background: #FFFFFF;
  border-color: rgba(8, 119, 242, 0.18);
  box-shadow: 0 16px 34px rgba(20, 55, 86, 0.10);
  color: #0877F2;
}

.department-nav-card.is-featured {
  background: #EAF2FB;
  color: #FFFFFF;
}

.department-nav-card.is-featured:hover {
  color: #0877F2;
}

.dept-line-icon {
  width: 68px;
  height: 68px;
  display: block;
}

.dept-line-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #15191D;
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.department-nav-card.is-featured .dept-line-icon svg {
  stroke: #FFFFFF;
}

.department-nav-card.is-featured:hover .dept-line-icon svg,
.department-nav-card:hover .dept-line-icon svg {
  stroke: #0877F2;
}

.department-nav-card strong {
  color: currentColor;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
}

@media (max-width: 1080px) {
  .department-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .department-nav-section .container {
    width: min(100% - 32px, 1200px);
  }

  .department-nav-heading {
    margin-bottom: 22px;
  }

  .department-nav-heading h2 {
    font-size: 28px;
    padding-bottom: 14px;
  }

  .department-nav-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .department-nav-card {
    min-height: 116px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 22px 24px;
    text-align: left;
  }

  .dept-line-icon {
    width: 54px;
    height: 54px;
  }
}

/* Department navigation adapted to Better Dental brand */
.department-nav-section {
  background: #F8FAFB;
}

.department-nav-heading {
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(27, 94, 158, 0.14);
}

.department-nav-heading h2 {
  color: #1B5E9E;
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 900;
  letter-spacing: 0;
}

.department-nav-heading h2::after {
  height: 4px;
  width: 86px;
  border-radius: 999px;
  background: #00BFA5;
}

.department-nav-grid {
  gap: 18px;
}

.department-nav-card {
  min-height: 154px;
  gap: 16px;
  border: 1px solid rgba(27, 94, 158, 0.08);
  border-radius: 0;
  background: #FFFFFF;
  color: #2D3436;
  box-shadow: 0 8px 22px rgba(28, 47, 66, 0.045);
}

.department-nav-card:hover {
  background: #F7FBFE;
  border-color: rgba(27, 94, 158, 0.22);
  color: #1B5E9E;
  box-shadow: 0 16px 34px rgba(27, 94, 158, 0.10);
}

.department-nav-card.is-featured {
  background: #1B5E9E;
  color: #FFFFFF;
  border-color: #1B5E9E;
}

.department-nav-card.is-featured:hover {
  background: #164F86;
  color: #FFFFFF;
}

.dept-line-icon {
  width: 64px;
  height: 64px;
}

.dept-line-icon svg {
  stroke: #1B5E9E;
  stroke-width: 3.8;
}

.department-nav-card:hover .dept-line-icon svg {
  stroke: #00BFA5;
}

.department-nav-card.is-featured .dept-line-icon svg,
.department-nav-card.is-featured:hover .dept-line-icon svg {
  stroke: #FFFFFF;
}

.department-nav-card strong {
  color: currentColor;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.department-nav-card::after {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: rgba(27, 94, 158, 0.18);
  transition: width 0.25s ease, background 0.25s ease;
}

.department-nav-card:hover::after {
  width: 42px;
  background: #00BFA5;
}

.department-nav-card.is-featured::after,
.department-nav-card.is-featured:hover::after {
  background: rgba(255, 255, 255, 0.62);
}

@media (max-width: 768px) {
  .department-nav-card {
    min-height: 112px;
    border-radius: 0;
  }

  .department-nav-card::after {
    display: none;
  }

  .department-nav-card strong {
    font-size: 18px;
  }
}

/* Home section title color alignment with department navigation */
#home .about-section .section-heading,
#home .doctors-section .section-heading,
#home .cases-section .section-heading {
  position: relative;
  padding-bottom: 16px;
}

#home .about-section .section-heading::after,
#home .doctors-section .section-heading::after,
#home .cases-section .section-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 86px;
  height: 4px;
  border-radius: 999px;
  background: #00BFA5;
  transform: translateX(-50%);
}

#home .about-section .section-heading.section-heading-left::after {
  left: 0;
  transform: none;
}

#home .about-section .section-title,
#home .doctors-section .section-title,
#home .cases-section .section-title {
  color: #1B5E9E;
  font-weight: 900;
}

#home .about-section .section-kicker,
#home .doctors-section .section-kicker,
#home .cases-section .section-kicker,
#home .about-section .about-kicker {
  color: #2E86D1;
}

#home .about-section .section-heading p,
#home .doctors-section .section-heading p,
#home .cases-section .section-heading p {
  color: #636E72;
}

@media (max-width: 768px) {
  #home .about-section .section-heading,
  #home .doctors-section .section-heading,
  #home .cases-section .section-heading {
    padding-bottom: 14px;
  }
}

/* Department navigation hover emphasis */
.department-nav-card,
.department-nav-card.is-featured {
  background: #FFFFFF;
  color: #2D3436;
  border-color: rgba(27, 94, 158, 0.08);
}

.department-nav-card .dept-line-icon svg,
.department-nav-card.is-featured .dept-line-icon svg {
  stroke: #1B5E9E;
}

.department-nav-card:hover,
.department-nav-card.is-featured:hover,
.department-nav-card.is-hovered {
  background: #1B5E9E;
  border-color: #1B5E9E;
  color: #FFFFFF;
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(27, 94, 158, 0.22);
}

.department-nav-card:hover .dept-line-icon svg,
.department-nav-card.is-featured:hover .dept-line-icon svg,
.department-nav-card.is-hovered .dept-line-icon svg {
  stroke: #FFFFFF;
}

.department-nav-card:hover::after,
.department-nav-card.is-featured:hover::after,
.department-nav-card.is-hovered::after {
  width: 42px;
  background: rgba(255, 255, 255, 0.72);
}

/* Hero lower strength strip inspired by Suihua layout, adapted to Better brand */
.strength-strip {
  position: relative;
  z-index: 4;
  padding: 0 0 34px;
  margin-top: -44px;
  background: #F8FAFB;
}

.strength-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.45fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(27, 94, 158, 0.12);
  background: #FFFFFF;
  box-shadow: 0 22px 48px rgba(22, 47, 70, 0.12);
}

.strength-lead {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 32px 36px;
  background: #0F477D;
  color: #FFFFFF;
}

.strength-lead span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.strength-lead h2 {
  margin: 0;
  color: #FFFFFF;
  font-size: 28px;
  line-height: 1.28;
}

.strength-lead p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.8;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #FFFFFF;
}

.strength-item,
.stat-card.strength-item {
  position: relative;
  min-height: 156px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 30px 24px;
  border: 0;
  border-right: 1px solid rgba(27, 94, 158, 0.10);
  border-radius: 0;
  background: #FFFFFF;
  box-shadow: none;
  text-align: left;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.strength-item:last-child {
  border-right: 0;
}

.strength-item::before {
  content: "";
  width: 32px;
  height: 3px;
  border-radius: 999px;
  background: #00BFA5;
}

.strength-item strong {
  color: #1B5E9E;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  letter-spacing: 0;
}

.strength-item span {
  color: #636E72;
  font-size: 15px;
  font-weight: 800;
}

.strength-item:hover {
  z-index: 1;
  background: #F7FBFE;
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(27, 94, 158, 0.10);
}

@media (max-width: 1080px) {
  .strength-inner {
    grid-template-columns: 1fr;
  }

  .strength-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strength-item:nth-child(2) {
    border-right: 0;
  }

  .strength-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(27, 94, 158, 0.10);
  }
}

@media (max-width: 768px) {
  .strength-strip {
    margin-top: 0;
    padding: 26px 0 26px;
  }

  .strength-lead {
    padding: 24px 20px;
  }

  .strength-lead h2 {
    font-size: 24px;
  }

  .strength-grid {
    grid-template-columns: 1fr;
  }

  .strength-item,
  .stat-card.strength-item {
    min-height: 112px;
    border-right: 0;
    border-bottom: 1px solid rgba(27, 94, 158, 0.10);
    padding: 22px 20px;
  }

  .strength-item:last-child {
    border-bottom: 0;
  }
}

/* Hero quick service entrance bar */
.hero-quick-section {
  position: relative;
  z-index: 5;
  margin-top: -38px;
  padding: 0 0 38px;
  background: #F8FAFB;
}

.hero-quick-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  min-height: 150px;
  background: #FFFFFF;
  border: 1px solid rgba(27, 94, 158, 0.10);
  box-shadow: 0 22px 48px rgba(22, 47, 70, 0.12);
}

.hero-quick-item {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
  min-height: 150px;
  color: #1E2B36;
  text-align: center;
  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
}

.hero-quick-item + .hero-quick-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: rgba(27, 94, 158, 0.10);
}

.hero-quick-item:hover {
  z-index: 1;
  transform: translateY(-6px);
  background: #F7FBFE;
  color: #1B5E9E;
  box-shadow: 0 16px 34px rgba(27, 94, 158, 0.10);
}

.hero-quick-icon {
  width: 66px;
  height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(28, 47, 66, 0.10);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.hero-quick-item:hover .hero-quick-icon {
  transform: scale(1.06);
  box-shadow: 0 16px 30px rgba(27, 94, 158, 0.18);
}

.hero-quick-icon.blue { background: linear-gradient(135deg, #2E86D1, #0877F2); }
.hero-quick-icon.mint { background: linear-gradient(135deg, #00BFA5, #35D3BE); }
.hero-quick-icon.orange { background: linear-gradient(135deg, #FFB02E, #FF8A00); }
.hero-quick-icon.red { background: linear-gradient(135deg, #FF5B5B, #E83D4B); }

.hero-quick-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-quick-item strong {
  color: currentColor;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

@media (max-width: 1080px) {
  .hero-quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-quick-item:nth-child(4)::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-quick-section {
    margin-top: 0;
    padding: 22px 0 30px;
  }

  .hero-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }

  .hero-quick-item {
    min-height: 122px;
    gap: 12px;
  }

  .hero-quick-item + .hero-quick-item::before {
    display: none;
  }

  .hero-quick-icon {
    width: 56px;
    height: 56px;
    border-radius: 15px;
  }

  .hero-quick-icon svg {
    width: 30px;
    height: 30px;
  }

  .hero-quick-item strong {
    font-size: 17px;
  }
}

/* Hero quick bar brand integration */
.hero-quick-section {
  margin-top: -64px;
  padding: 0 0 44px;
  background: linear-gradient(180deg, transparent 0, transparent 64px, #F8FAFB 64px, #F8FAFB 100%);
}

.hero-quick-grid {
  min-height: 142px;
  border: 1px solid rgba(27, 94, 158, 0.13);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 54px rgba(13, 63, 110, 0.16);
  backdrop-filter: blur(8px);
}

.hero-quick-item {
  min-height: 142px;
  gap: 16px;
  color: #2D3436;
}

.hero-quick-item + .hero-quick-item::before {
  top: 30px;
  bottom: 30px;
  background: rgba(27, 94, 158, 0.12);
}

.hero-quick-icon,
.hero-quick-icon.blue,
.hero-quick-icon.mint,
.hero-quick-icon.orange,
.hero-quick-icon.red,
.hero-quick-icon.brand {
  background: #F1F8FD;
  border: 1px solid rgba(27, 94, 158, 0.14);
  box-shadow: none;
}

.hero-quick-icon svg {
  stroke: #1B5E9E;
}

.hero-quick-item:nth-child(2) .hero-quick-icon svg,
.hero-quick-item:nth-child(5) .hero-quick-icon svg {
  stroke: #00BFA5;
}

.hero-quick-item:hover {
  background: #1B5E9E;
  color: #FFFFFF;
  box-shadow: 0 18px 40px rgba(13, 63, 110, 0.20);
}

.hero-quick-item:hover .hero-quick-icon {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.30);
  box-shadow: none;
}

.hero-quick-item:hover .hero-quick-icon svg,
.hero-quick-item:nth-child(2):hover .hero-quick-icon svg,
.hero-quick-item:nth-child(5):hover .hero-quick-icon svg {
  stroke: #FFFFFF;
}

.hero-quick-item strong {
  font-size: 19px;
  color: currentColor;
}

@media (max-width: 768px) {
  .hero-quick-section {
    margin-top: 0;
    padding: 22px 0 30px;
    background: #F8FAFB;
  }

  .hero-quick-grid {
    min-height: 0;
  }

  .hero-quick-item {
    min-height: 116px;
  }
}

/* Hero quick bar dark integrated style */
.hero-quick-section {
  margin-top: -86px;
  padding: 0 0 40px;
  background: linear-gradient(180deg, transparent 0, transparent 86px, #F8FAFB 86px, #F8FAFB 100%);
}

.hero-quick-grid {
  min-height: 136px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(10, 46, 78, 0.82);
  box-shadow: 0 24px 54px rgba(6, 24, 43, 0.22);
  backdrop-filter: blur(10px);
}

.hero-quick-item {
  min-height: 136px;
  color: #FFFFFF;
}

.hero-quick-item + .hero-quick-item::before {
  top: 28px;
  bottom: 28px;
  background: rgba(255, 255, 255, 0.16);
}

.hero-quick-icon,
.hero-quick-icon.blue,
.hero-quick-icon.mint,
.hero-quick-icon.orange,
.hero-quick-icon.red,
.hero-quick-icon.brand {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.hero-quick-icon svg,
.hero-quick-item:nth-child(2) .hero-quick-icon svg,
.hero-quick-item:nth-child(5) .hero-quick-icon svg {
  stroke: #FFFFFF;
}

.hero-quick-item strong {
  color: #FFFFFF;
}

.hero-quick-item:hover {
  background: rgba(46, 134, 209, 0.34);
  color: #FFFFFF;
  transform: translateY(-5px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 18px 38px rgba(6, 24, 43, 0.20);
}

.hero-quick-item:hover .hero-quick-icon {
  background: #00BFA5;
  border-color: #00BFA5;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .hero-quick-section {
    margin-top: 0;
    padding: 0 0 30px;
    background: #0F477D;
  }

  .hero-quick-grid {
    border-left: 0;
    border-right: 0;
    background: rgba(10, 46, 78, 0.92);
    box-shadow: none;
  }
}

/* Hero quick bar separated translucent style */
.hero-quick-section {
  margin-top: 0;
  padding: 36px 0 42px;
  background: #F8FAFB;
}

.hero-quick-grid {
  min-height: 132px;
  border: 1px solid rgba(27, 94, 158, 0.12);
  background: rgba(237, 247, 253, 0.72);
  box-shadow: 0 16px 38px rgba(27, 94, 158, 0.08);
  backdrop-filter: blur(8px);
}

.hero-quick-item {
  min-height: 132px;
  color: #22313C;
}

.hero-quick-item + .hero-quick-item::before {
  top: 28px;
  bottom: 28px;
  background: rgba(27, 94, 158, 0.13);
}

.hero-quick-icon,
.hero-quick-icon.blue,
.hero-quick-icon.mint,
.hero-quick-icon.orange,
.hero-quick-icon.red,
.hero-quick-icon.brand {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(27, 94, 158, 0.12);
  box-shadow: 0 10px 22px rgba(27, 94, 158, 0.08);
}

.hero-quick-icon svg {
  stroke: #1B5E9E;
}

.hero-quick-item:nth-child(2) .hero-quick-icon svg,
.hero-quick-item:nth-child(5) .hero-quick-icon svg {
  stroke: #00BFA5;
}

.hero-quick-item strong {
  color: currentColor;
}

.hero-quick-item:hover {
  background: rgba(255, 255, 255, 0.58);
  color: #1B5E9E;
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(27, 94, 158, 0.10);
}

.hero-quick-item:hover .hero-quick-icon {
  background: #1B5E9E;
  border-color: #1B5E9E;
}

.hero-quick-item:hover .hero-quick-icon svg,
.hero-quick-item:nth-child(2):hover .hero-quick-icon svg,
.hero-quick-item:nth-child(5):hover .hero-quick-icon svg {
  stroke: #FFFFFF;
}

@media (max-width: 768px) {
  .hero-quick-section {
    padding: 28px 0 34px;
    background: #F8FAFB;
  }

  .hero-quick-grid {
    background: rgba(237, 247, 253, 0.82);
    border-left: 1px solid rgba(27, 94, 158, 0.12);
    border-right: 1px solid rgba(27, 94, 158, 0.12);
    box-shadow: 0 12px 28px rgba(27, 94, 158, 0.08);
  }
}

/* Hero quick bar no background cleanup */
.hero-quick-section {
  background: #F8FAFB;
}

.hero-quick-grid {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-quick-item {
  background: transparent;
}

.hero-quick-item:hover {
  background: transparent;
  box-shadow: none;
}

@media (max-width: 768px) {
  .hero-quick-grid {
    background: transparent;
    border: 0;
    box-shadow: none;
  }
}

/* Home clinic list replacing cases section */
.stores-section {
  background: #FFFFFF;
}

.stores-section .stores-heading .section-title {
  color: #1B5E9E;
}

.stores-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.store-card {
  position: relative;
  min-height: 176px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(27, 94, 158, 0.12);
  background: #F8FAFB;
  transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.store-card::after {
  content: "BETTER";
  position: absolute;
  right: -10px;
  bottom: -18px;
  color: rgba(27, 94, 158, 0.05);
  font-size: 58px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
}

.store-card-main {
  grid-row: span 2;
  min-height: 368px;
  background: #0F477D;
  color: #FFFFFF;
}

.store-card-main::after {
  color: rgba(255, 255, 255, 0.08);
  font-size: 86px;
}

.store-index {
  color: #00BFA5;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.store-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: #22313C;
  font-size: 23px;
  line-height: 1.28;
}

.store-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #636E72;
  font-size: 14px;
  line-height: 1.75;
}

.store-card-main h3,
.store-card-main p {
  color: #FFFFFF;
}

.store-card-main p {
  color: rgba(255, 255, 255, 0.76);
}

.store-card a {
  position: relative;
  z-index: 1;
  justify-self: start;
  color: #1B5E9E;
  font-size: 14px;
  font-weight: 900;
}

.store-card-main a {
  color: #FFFFFF;
  padding-bottom: 4px;
  border-bottom: 2px solid #00BFA5;
}

.store-card:hover {
  transform: translateY(-5px);
  border-color: rgba(27, 94, 158, 0.26);
  background: #FFFFFF;
  box-shadow: 0 18px 34px rgba(27, 94, 158, 0.10);
}

.store-card-main:hover {
  background: #123F68;
  box-shadow: 0 20px 40px rgba(15, 71, 125, 0.20);
}

.stores-link {
  margin-top: 30px;
}

@media (max-width: 1080px) {
  .stores-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-card-main {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .stores-layout {
    grid-template-columns: 1fr;
  }

  .store-card,
  .store-card-main {
    min-height: 164px;
    grid-column: auto;
    padding: 22px 20px;
  }
}

/* Store illustration and six-clinic layout */
.store-showcase {
  display: grid;
  gap: 22px;
}

.store-visual-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(27, 94, 158, 0.12);
  background: #EAF8FD;
  box-shadow: 0 18px 38px rgba(27, 94, 158, 0.08);
}

.store-visual-card img {
  display: block;
  width: 100%;
  height: auto;
}

.store-showcase .stores-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-showcase .store-card-main {
  grid-row: auto;
  min-height: 188px;
}

.store-showcase .store-card {
  min-height: 188px;
}

.store-showcase .store-card p {
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 1080px) {
  .store-showcase .stores-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .store-showcase .stores-layout {
    grid-template-columns: 1fr;
  }

  .store-showcase .store-card,
  .store-showcase .store-card-main {
    min-height: 158px;
  }
}

/* Clinic list as premium numbered cards */
.store-visual-card {
  display: none !important;
}

.store-showcase {
  display: block;
}

.store-showcase .stores-layout,
.stores-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.store-card,
.store-card-main,
.store-showcase .store-card,
.store-showcase .store-card-main {
  position: relative;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  padding: 42px 44px 34px;
  overflow: hidden;
  border: 0;
  background: #124A78;
  color: #FFFFFF;
  box-shadow: none;
}

.store-card::after,
.store-card-main::after {
  content: "BETTER";
  position: absolute;
  left: 140px;
  right: auto;
  bottom: -34px;
  color: rgba(255, 255, 255, 0.08);
  font-size: clamp(90px, 10vw, 150px);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 0.9;
  pointer-events: none;
}

.store-index {
  position: relative;
  z-index: 1;
  margin-bottom: 34px;
  color: #00BFA5;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.store-card h3,
.store-card-main h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  color: #FFFFFF;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.2;
}

.store-card p,
.store-card-main p {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
  line-height: 1.55;
}

.store-card a,
.store-card-main a {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 30px;
  padding-bottom: 8px;
  border-bottom: 4px solid #00BFA5;
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.store-card:hover,
.store-card-main:hover {
  transform: translateY(-6px);
  background: #0F477D;
  box-shadow: 0 20px 42px rgba(15, 71, 125, 0.18);
}

.store-card:hover::after,
.store-card-main:hover::after {
  color: rgba(255, 255, 255, 0.11);
}

@media (max-width: 1080px) {
  .store-showcase .stores-layout,
  .stores-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .store-card,
  .store-card-main,
  .store-showcase .store-card,
  .store-showcase .store-card-main {
    min-height: 218px;
    padding: 30px 24px 26px;
  }

  .store-index {
    margin-bottom: 24px;
    font-size: 22px;
  }

  .store-card h3,
  .store-card-main h3 {
    margin-bottom: 14px;
    font-size: 26px;
  }

  .store-card p,
  .store-card-main p {
    font-size: 16px;
  }

  .store-card a,
  .store-card-main a {
    font-size: 18px;
  }
}

/* Store list horizontal auto carousel */
.store-showcase .stores-layout.store-carousel,
.stores-layout.store-carousel {
  display: flex;
  grid-template-columns: none;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 22px;
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.store-carousel::-webkit-scrollbar {
  display: none;
}

.store-carousel .store-card,
.store-carousel .store-card-main {
  flex: 0 0 360px;
  min-height: 210px;
  padding: 30px 30px 26px;
}

.store-carousel .store-card::after,
.store-carousel .store-card-main::after {
  left: 92px;
  bottom: -22px;
  font-size: 96px;
}

.store-carousel .store-index {
  margin-bottom: 22px;
  font-size: 22px;
}

.store-carousel .store-card h3,
.store-carousel .store-card-main h3 {
  margin-bottom: 12px;
  font-size: 27px;
}

.store-carousel .store-card p,
.store-carousel .store-card-main p {
  font-size: 15px;
  line-height: 1.65;
}

.store-carousel .store-card a,
.store-carousel .store-card-main a {
  padding-top: 22px;
  font-size: 17px;
  border-bottom-width: 3px;
}

@media (max-width: 768px) {
  .store-showcase .stores-layout.store-carousel,
  .stores-layout.store-carousel {
    mask-image: none;
    padding-bottom: 16px;
  }

  .store-carousel .store-card,
  .store-carousel .store-card-main {
    flex-basis: 82%;
    min-width: 270px;
    min-height: 190px;
    padding: 26px 22px 22px;
  }
}

/* Store list final two-row background layout */
.stores-section {
  position: relative;
  overflow: hidden;
  background: #F8FAFB;
}

.stores-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/store-hero-baotou.svg") center top / cover no-repeat;
  opacity: 0.16;
  pointer-events: none;
}

.stores-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 250, 251, 0.82);
  pointer-events: none;
}

.stores-section > .container {
  position: relative;
  z-index: 1;
}

.store-showcase .stores-layout.stores-grid-six,
.stores-layout.stores-grid-six {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
  padding: 0;
  mask-image: none;
}

.stores-grid-six .store-card,
.stores-grid-six .store-card-main {
  flex: none;
  min-height: 218px;
  padding: 32px 32px 28px;
}

.stores-grid-six .store-card::after,
.stores-grid-six .store-card-main::after {
  left: 105px;
  bottom: -26px;
  font-size: 104px;
}

.stores-grid-six .store-index {
  margin-bottom: 24px;
  font-size: 22px;
}

.stores-grid-six .store-card h3,
.stores-grid-six .store-card-main h3 {
  margin-bottom: 12px;
  font-size: 28px;
}

.stores-grid-six .store-card p,
.stores-grid-six .store-card-main p {
  font-size: 15px;
  line-height: 1.65;
}

.stores-grid-six .store-card a,
.stores-grid-six .store-card-main a {
  padding-top: 22px;
  font-size: 18px;
}

@media (max-width: 1080px) {
  .store-showcase .stores-layout.stores-grid-six,
  .stores-layout.stores-grid-six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .store-showcase .stores-layout.stores-grid-six,
  .stores-layout.stores-grid-six {
    grid-template-columns: 1fr;
  }

  .stores-grid-six .store-card,
  .stores-grid-six .store-card-main {
    min-height: 188px;
    padding: 26px 22px 22px;
  }
}

/* Store background visibility correction */
.stores-section {
  background: #EAF8FD;
}

.stores-section::before {
  inset: 0;
  background-image: url("../images/store-hero-baotou.svg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.34;
}

.stores-section::after {
  background: linear-gradient(180deg, rgba(248, 250, 251, 0.52) 0%, rgba(248, 250, 251, 0.80) 100%);
}

.store-showcase {
  padding: 24px;
  border: 1px solid rgba(27, 94, 158, 0.12);
  background: rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(2px);
}

.store-showcase .stores-layout.stores-grid-six,
.stores-layout.stores-grid-six {
  gap: 18px;
}

.stores-grid-six .store-card,
.stores-grid-six .store-card-main,
.store-card,
.store-card-main {
  background: rgba(15, 71, 125, 0.88);
  backdrop-filter: blur(3px);
}

.stores-grid-six .store-card:hover,
.stores-grid-six .store-card-main:hover,
.store-card:hover,
.store-card-main:hover {
  background: rgba(18, 85, 143, 0.94);
}

@media (max-width: 768px) {
  .store-showcase {
    padding: 14px;
  }

  .stores-section::before {
    opacity: 0.24;
  }
}

/* Store module action button refinement */
.stores-link {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.stores-link a {
  position: relative;
  min-width: 240px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 30px;
  overflow: hidden;
  border: 1px solid rgba(27, 94, 158, 0.18);
  border-radius: 999px;
  background: #1B5E9E;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(27, 94, 158, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.stores-link a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00BFA5;
}

.stores-link a:hover {
  transform: translateY(-3px);
  background: #0F477D;
  color: #FFFFFF;
  box-shadow: 0 18px 36px rgba(15, 71, 125, 0.22);
}

@media (max-width: 768px) {
  .stores-link a {
    width: 100%;
    min-width: 0;
  }
}

/* Store module uses illustrated hero as main display */
.stores-section::before,
.stores-section::after {
  display: none;
}

.store-showcase {
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.store-hero-panel {
  display: block;
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid rgba(27, 94, 158, 0.12);
  background: #EAF8FD;
  box-shadow: 0 18px 38px rgba(27, 94, 158, 0.08);
}

.store-hero-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.stores-grid-six .store-card,
.stores-grid-six .store-card-main,
.store-card,
.store-card-main {
  background: #124A78;
  backdrop-filter: none;
}

.stores-grid-six .store-card:hover,
.stores-grid-six .store-card-main:hover,
.store-card:hover,
.store-card-main:hover {
  background: #0F477D;
}

@media (max-width: 768px) {
  .store-hero-panel {
    margin-bottom: 16px;
  }
}
/* Store module: use illustration as section background */
.store-hero-panel {
  display: none !important;
}

.stores-section {
  position: relative;
  overflow: hidden;
  background: #EEF8FC;
}

.stores-section::before,
.stores-section::after {
  display: none !important;
}

.store-showcase {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border: 1px solid rgba(27, 94, 158, 0.12);
  background-image:
    linear-gradient(90deg, rgba(238, 248, 252, 0.34) 0%, rgba(238, 248, 252, 0.18) 45%, rgba(15, 71, 125, 0.12) 100%),
    url("../images/store-hero-baotou.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 18px 42px rgba(27, 94, 158, 0.10);
}

.store-showcase .stores-layout.stores-grid-six,
.stores-layout.stores-grid-six {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stores-grid-six .store-card,
.stores-grid-six .store-card-main,
.store-card,
.store-card-main {
  background: rgba(13, 63, 110, 0.90);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 34px rgba(15, 71, 125, 0.18);
  backdrop-filter: blur(2px);
}

.stores-grid-six .store-card:hover,
.stores-grid-six .store-card-main:hover,
.store-card:hover,
.store-card-main:hover {
  background: rgba(27, 94, 158, 0.95);
}

@media (max-width: 1080px) {
  .store-showcase {
    padding: 36px;
  }
}

@media (max-width: 768px) {
  .store-showcase {
    padding: 22px;
    background-position: center top;
  }

  .store-showcase .stores-layout.stores-grid-six,
  .stores-layout.stores-grid-six {
    grid-template-columns: 1fr;
  }
}
/* Store background softening */
.store-showcase {
  background-image:
    linear-gradient(90deg, rgba(238, 248, 252, 0.74) 0%, rgba(238, 248, 252, 0.68) 48%, rgba(238, 248, 252, 0.58) 100%),
    url("../images/store-hero-baotou.svg");
  background-blend-mode: normal;
}

.stores-grid-six .store-card,
.stores-grid-six .store-card-main,
.store-card,
.store-card-main {
  background: rgba(13, 63, 110, 0.84);
}

@media (max-width: 768px) {
  .store-showcase {
    background-image:
      linear-gradient(180deg, rgba(238, 248, 252, 0.82) 0%, rgba(238, 248, 252, 0.72) 100%),
      url("../images/store-hero-baotou.svg");
  }
}
/* Store background extra softening */
.store-showcase {
  background-image:
    linear-gradient(90deg, rgba(238, 248, 252, 0.90) 0%, rgba(238, 248, 252, 0.88) 52%, rgba(238, 248, 252, 0.82) 100%),
    url("../images/store-hero-baotou.svg");
  background-size: cover;
  background-position: center;
}

.stores-grid-six .store-card,
.stores-grid-six .store-card-main,
.store-card,
.store-card-main {
  background: rgba(15, 71, 125, 0.90);
}

@media (max-width: 768px) {
  .store-showcase {
    background-image:
      linear-gradient(180deg, rgba(238, 248, 252, 0.93) 0%, rgba(238, 248, 252, 0.88) 100%),
      url("../images/store-hero-baotou.svg");
  }
}
/* Store background removed */
.store-showcase {
  background-image: none !important;
  background: transparent !important;
}

.stores-section {
  background: #F8FAFB;
}
/* Hero option 2 trial */
.hero {
  min-height: 760px;
  background:
    linear-gradient(90deg, rgba(238, 242, 245, 0.92) 0%, rgba(238, 242, 245, 0.72) 38%, rgba(238, 242, 245, 0.18) 70%, rgba(238, 242, 245, 0.02) 100%),
    url("../images/hero-option-2.png") center / cover no-repeat;
}

.hero::before,
.hero::after,
.hero-brand-word {
  display: none !important;
}

.hero-inner {
  grid-template-columns: minmax(0, 760px);
  gap: 0;
  min-height: 760px;
  align-items: center;
}

.hero-content {
  max-width: 760px;
  padding-top: 16px;
}

.hero-content h1 {
  color: #122B3D;
  font-size: clamp(52px, 5.8vw, 86px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0;
  margin-bottom: 36px;
}

.hero-content p {
  max-width: 820px;
  color: #576D7C;
  font-size: clamp(23px, 2vw, 34px);
  line-height: 1.9;
  margin-bottom: 56px;
}

.hero-actions {
  gap: 28px;
}

.hero-actions .btn,
.hero-actions .button-outline {
  min-width: 256px;
  min-height: 78px;
  justify-content: center;
  border-radius: 14px;
  font-size: 28px;
  font-weight: 900;
}

.hero-actions .btn {
  background: #FFFFFF;
  color: #004E8C;
  border-color: #FFFFFF;
  box-shadow: none;
}

.hero-actions .button-outline {
  background: rgba(255, 255, 255, 0.42);
  color: #004E8C;
  border: 4px solid rgba(255, 255, 255, 0.92);
}

.hero-image.photo-cover {
  display: none !important;
}

@media (max-width: 1080px) {
  .hero,
  .hero-inner {
    min-height: 620px;
  }

  .hero {
    background-position: 58% center;
  }

  .hero-content h1 {
    font-size: 56px;
  }

  .hero-content p {
    max-width: 650px;
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .hero,
  .hero-inner {
    min-height: 520px;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(238, 242, 245, 0.94) 0%, rgba(238, 242, 245, 0.82) 100%),
      url("../images/hero-option-2.png") center / cover no-repeat;
  }

  .hero-content h1 {
    font-size: 34px;
    margin-bottom: 18px;
  }

  .hero-content p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 24px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .btn,
  .hero-actions .button-outline {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    font-size: 17px;
    border-radius: 10px;
  }
}
/* Hero option 2 size correction */
.hero {
  min-height: 620px;
  background:
    linear-gradient(90deg, rgba(238, 242, 245, 0.92) 0%, rgba(238, 242, 245, 0.70) 42%, rgba(238, 242, 245, 0.16) 76%, rgba(238, 242, 245, 0.02) 100%),
    url("../images/hero-option-2.png") center / cover no-repeat;
}

.hero-inner {
  min-height: 620px;
  grid-template-columns: minmax(0, 660px);
}

.hero-content {
  max-width: 660px;
  padding-top: 0;
}

.hero-content h1 {
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1.22;
  margin-bottom: 24px;
}

.hero-content p {
  max-width: 660px;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.8;
  margin-bottom: 34px;
}

.hero-actions {
  gap: 18px;
}

.hero-actions .btn,
.hero-actions .button-outline {
  min-width: 168px;
  min-height: 54px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 18px;
}

.hero-actions .button-outline {
  border-width: 2px;
}

@media (max-width: 1080px) {
  .hero,
  .hero-inner {
    min-height: 540px;
  }

  .hero {
    background-position: 60% center;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 560px);
  }

  .hero-content h1 {
    font-size: 46px;
  }

  .hero-content p {
    max-width: 560px;
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .hero,
  .hero-inner {
    min-height: 430px;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(238, 242, 245, 0.95) 0%, rgba(238, 242, 245, 0.86) 100%),
      url("../images/hero-option-2.png") 58% center / cover no-repeat;
  }

  .hero-content h1 {
    font-size: 30px;
    margin-bottom: 16px;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 22px;
  }

  .hero-actions .btn,
  .hero-actions .button-outline {
    min-height: 48px;
    font-size: 16px;
  }
}
/* Hero option 2 fitted banner correction */
.hero {
  min-height: 620px;
  background:
    linear-gradient(90deg, rgba(238, 242, 245, 0.96) 0%, rgba(238, 242, 245, 0.84) 34%, rgba(238, 242, 245, 0.34) 62%, rgba(238, 242, 245, 0.04) 100%),
    url("../images/hero-option-2-banner.png") center right / cover no-repeat;
}

.hero-inner {
  min-height: 620px;
  grid-template-columns: minmax(0, 620px);
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-content h1 {
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.24;
  margin-bottom: 22px;
}

.hero-content p {
  max-width: 600px;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.85;
  margin-bottom: 32px;
}

.hero-actions .btn,
.hero-actions .button-outline {
  min-width: 148px;
  min-height: 52px;
  padding: 11px 26px;
  font-size: 17px;
}

@media (max-width: 1080px) {
  .hero,
  .hero-inner {
    min-height: 540px;
  }

  .hero {
    background-position: 58% center;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 540px);
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .hero,
  .hero-inner {
    min-height: 430px;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(238, 242, 245, 0.97) 0%, rgba(238, 242, 245, 0.90) 100%),
      url("../images/hero-option-2-banner.png") 62% center / cover no-repeat;
  }

  .hero-content h1 {
    font-size: 30px;
    margin-bottom: 14px;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 22px;
  }
}
/* Hero option 1 trial */
.hero {
  min-height: 620px;
  background:
    linear-gradient(90deg, rgba(238, 242, 245, 0.96) 0%, rgba(238, 242, 245, 0.82) 35%, rgba(238, 242, 245, 0.28) 64%, rgba(238, 242, 245, 0.02) 100%),
    url("../images/hero-home-dental-lobby.png") center right / cover no-repeat;
}

.hero-inner {
  min-height: 620px;
  grid-template-columns: minmax(0, 620px);
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-content h1 {
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.24;
  margin-bottom: 22px;
}

.hero-content p {
  max-width: 600px;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.85;
  margin-bottom: 32px;
}

.hero-actions .btn,
.hero-actions .button-outline {
  min-width: 148px;
  min-height: 52px;
  padding: 11px 26px;
  border-radius: 10px;
  font-size: 17px;
}

.hero-actions .button-outline {
  border-width: 2px;
}

@media (max-width: 1080px) {
  .hero,
  .hero-inner {
    min-height: 540px;
  }

  .hero {
    background-position: 60% center;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 540px);
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .hero,
  .hero-inner {
    min-height: 430px;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(238, 242, 245, 0.97) 0%, rgba(238, 242, 245, 0.90) 100%),
      url("../images/hero-home-dental-lobby.png") 62% center / cover no-repeat;
  }

  .hero-content h1 {
    font-size: 30px;
    margin-bottom: 14px;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 22px;
  }
}
/* Hero layout refinement: balanced text and image */
.hero {
  min-height: 600px;
  background:
    radial-gradient(circle at 15% 18%, rgba(46, 134, 209, 0.10), transparent 28%),
    #EEF8FC;
}

.hero-inner {
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 56px;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-content h1 {
  color: #122B3D;
  font-size: clamp(42px, 4.2vw, 62px);
  line-height: 1.22;
  margin-bottom: 22px;
}

.hero-content p {
  max-width: 560px;
  color: #576D7C;
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.85;
  margin-bottom: 34px;
}

.hero-actions .btn,
.hero-actions .button-outline {
  min-width: 148px;
  min-height: 52px;
  padding: 11px 26px;
  border-radius: 10px;
  font-size: 17px;
}

.hero-actions .btn {
  background: #1B5E9E;
  color: #FFFFFF;
  border-color: #1B5E9E;
}

.hero-actions .button-outline {
  background: #FFFFFF;
  color: #1B5E9E;
  border: 2px solid rgba(27, 94, 158, 0.24);
}

.hero-image.photo-cover {
  display: block !important;
  width: 100%;
  max-width: 650px;
  height: 390px;
  justify-self: end;
  border-radius: 24px;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  box-shadow: 0 24px 56px rgba(27, 94, 158, 0.18);
  -webkit-mask-image: none;
  mask-image: none;
}

@media (max-width: 1080px) {
  .hero,
  .hero-inner {
    min-height: 540px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.9fr);
    gap: 32px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .hero-image.photo-cover {
    height: 330px;
  }
}

@media (max-width: 768px) {
  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero {
    padding: 42px 0 34px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-content h1 {
    font-size: 30px;
    margin-bottom: 14px;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 22px;
  }

  .hero-image.photo-cover {
    width: 100%;
    max-width: none;
    height: 220px;
    justify-self: stretch;
    border-radius: 16px;
  }
}
/* Hero framed banner refinement */
.hero {
  min-height: auto;
  padding: 28px 0 34px;
  background: #F8FAFB;
}

.hero::before,
.hero::after,
.hero-brand-word {
  display: none !important;
}

.hero-inner {
  width: min(1200px, calc(100% - 48px));
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 640px);
  align-items: center;
  margin: 0 auto;
  padding: 68px 72px;
  overflow: hidden;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(238, 242, 245, 0.96) 0%, rgba(238, 242, 245, 0.82) 38%, rgba(238, 242, 245, 0.28) 66%, rgba(238, 242, 245, 0.02) 100%),
    url("../images/hero-home-dental-lobby.png") center right / cover no-repeat;
  box-shadow: 0 20px 50px rgba(27, 94, 158, 0.10);
}

.hero-content {
  max-width: 620px;
  padding: 0;
}

.hero-content h1 {
  color: #122B3D;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.24;
  margin-bottom: 22px;
}

.hero-content p {
  max-width: 600px;
  color: #576D7C;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.85;
  margin-bottom: 32px;
}

.hero-actions .btn,
.hero-actions .button-outline {
  min-width: 148px;
  min-height: 52px;
  padding: 11px 26px;
  border-radius: 10px;
  font-size: 17px;
}

.hero-actions .btn {
  background: #1B5E9E;
  color: #FFFFFF;
  border-color: #1B5E9E;
}

.hero-actions .button-outline {
  background: rgba(255, 255, 255, 0.68);
  color: #1B5E9E;
  border: 2px solid rgba(27, 94, 158, 0.24);
}

.hero-image.photo-cover {
  display: none !important;
}

@media (max-width: 1080px) {
  .hero-inner {
    width: min(100% - 32px, 960px);
    min-height: 500px;
    padding: 56px 42px;
    grid-template-columns: minmax(0, 560px);
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 18px 0 26px;
  }

  .hero-inner {
    width: calc(100% - 24px);
    min-height: 420px;
    padding: 38px 24px;
    background:
      linear-gradient(90deg, rgba(238, 242, 245, 0.97) 0%, rgba(238, 242, 245, 0.90) 100%),
      url("../images/hero-home-dental-lobby.png") 62% center / cover no-repeat;
  }

  .hero-content h1 {
    font-size: 30px;
    margin-bottom: 14px;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 22px;
  }

  .hero-actions .btn,
  .hero-actions .button-outline {
    min-height: 48px;
    font-size: 16px;
  }
}
/* Hero full-width banner with reduced height */
.hero {
  min-height: 500px;
  padding: 0;
  background: url("../images/hero-home-dental-lobby.png") center right / cover no-repeat;
}

.hero-inner {
  width: min(1200px, calc(100% - 48px));
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 600px);
  align-items: center;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.hero {
  position: relative;
}

.hero-hotspots {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-hotspot {
  position: absolute;
  display: block;
  pointer-events: auto;
  color: transparent;
  background: transparent;
  text-decoration: none;
}

.hero-hotspot-consult {
  left: 18.2%;
  top: 65.8%;
  width: 13.3%;
  height: 9.8%;
}

.hero-hotspot-doctor {
  left: 33.5%;
  top: 65.8%;
  width: 13.4%;
  height: 9.8%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-content h1 {
  font-size: clamp(38px, 3.7vw, 54px);
  line-height: 1.22;
  margin-bottom: 18px;
}

.hero-content p {
  max-width: 580px;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.75;
  margin-bottom: 28px;
}

.hero-actions .btn,
.hero-actions .button-outline {
  min-width: 142px;
  min-height: 48px;
  padding: 10px 24px;
  font-size: 16px;
}

.hero-image.photo-cover {
  display: none !important;
}

.hero-brand-word {
  display: none !important;
}

.hero-content,
.hero-content h1,
.hero-content p,
.hero-actions {
  display: none !important;
}

@media (max-width: 1080px) {
  .hero,
  .hero-inner {
    min-height: 460px;
  }

  .hero {
    background-position: 60% center;
  }

  .hero-hotspot-consult {
    left: 0%;
    top: 64.8%;
    width: 8%;
    height: 10.5%;
  }

  .hero-hotspot-doctor {
    left: 8%;
    top: 64.8%;
    width: 34%;
    height: 10.5%;
  }

  .hero-inner {
    width: min(100% - 32px, 960px);
    grid-template-columns: minmax(0, 520px);
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-content p {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .hero,
  .hero-inner {
    min-height: 390px;
  }

  .hero {
    padding: 0;
    background: url("../images/hero-home-dental-lobby.png") 62% center / cover no-repeat;
  }

  .hero-hotspot-consult {
    left: 0%;
    top: 66.5%;
    width: 10%;
    height: 11%;
  }

  .hero-hotspot-doctor {
    left: 10%;
    top: 66.5%;
    width: 42%;
    height: 11%;
  }

  .hero-inner {
    width: calc(100% - 24px);
  }

  .hero-content h1 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .hero-content p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
  }

  .hero-actions .btn,
  .hero-actions .button-outline {
    min-height: 44px;
    font-size: 15px;
  }
}
/* Footer contact and QR refinement */
.footer-contact-column {
  min-width: 0;
}

.footer-address-list {
  display: grid;
  gap: 6px;
  margin: 10px 0 12px;
  padding: 0;
  list-style: none;
}

.footer-address-list li {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.qr-image {
  width: 118px;
  height: 118px;
  display: block;
  padding: 6px;
  border-radius: 4px;
  background: #FFFFFF;
  object-fit: contain;
}

.contact-qr-image {
  width: 132px;
  height: 132px;
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  .footer-address-list li {
    font-size: 12px;
  }

  .qr-image {
    width: 104px;
    height: 104px;
  }
}
/* Contact page store address list */
.contact-store-addresses {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-store-addresses li {
  color: #2D3436;
  font-size: 14px;
  line-height: 1.6;
}
/* Contact page address cards and AMap panel */
.contact-info-cards {
  gap: 16px;
}

.contact-store-block {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-store-block > span,
.contact-meta-row > span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  font-weight: 900;
}

.contact-store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-store-card {
  position: relative;
  min-height: 126px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 14px 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.contact-store-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #00BFA5;
}

.contact-store-card em {
  color: #00BFA5;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.contact-store-card strong {
  color: #FFFFFF;
  font-size: 15px;
  line-height: 1.3;
}

.contact-store-card p {
  flex: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  line-height: 1.55;
}

.contact-store-card b {
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 900;
}

.contact-store-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 191, 165, 0.42);
  background: rgba(255, 255, 255, 0.14);
}

.contact-store-card.is-main {
  background: rgba(0, 191, 165, 0.14);
  border-color: rgba(0, 191, 165, 0.32);
}

.contact-meta-row {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-meta-row p {
  margin: 0;
  color: #FFFFFF;
  line-height: 1.65;
}

.amap-panel {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(27, 94, 158, 0.94), rgba(15, 71, 125, 0.90)),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
  color: #FFFFFF;
  text-decoration: none;
}

.amap-panel::before,
.amap-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.amap-panel::before {
  width: 280px;
  height: 280px;
  right: -88px;
  top: -76px;
  border: 48px solid rgba(46, 134, 209, 0.22);
}

.amap-panel::after {
  width: 180px;
  height: 180px;
  left: 56px;
  top: 74px;
  border: 2px dashed rgba(255, 255, 255, 0.25);
}

.amap-badge {
  position: absolute;
  left: 28px;
  top: 26px;
  z-index: 1;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.13);
  color: #00BFA5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.amap-pin {
  position: absolute;
  left: 50%;
  top: 38%;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 50% 50% 50% 0;
  background: #00BFA5;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.amap-pin::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: #FFFFFF;
}

.amap-panel-content {
  position: relative;
  z-index: 2;
  max-width: 420px;
}

.amap-panel-content strong {
  display: block;
  color: #FFFFFF;
  font-size: 24px;
  line-height: 1.35;
}

.amap-panel-content p {
  margin: 10px 0 18px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.75;
}

.amap-panel-content span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  background: #FFFFFF;
  color: #1B5E9E;
  font-weight: 900;
}

.amap-panel:hover .amap-panel-content span {
  background: #00BFA5;
  color: #FFFFFF;
}

@media (max-width: 980px) {
  .contact-store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .contact-store-grid {
    grid-template-columns: 1fr;
  }

  .contact-store-card {
    min-height: auto;
  }

  .amap-panel {
    min-height: 280px;
    padding: 24px 18px;
  }

  .amap-panel-content strong {
    font-size: 20px;
  }
}
/* Contact page Arrail-inspired refinement */
.contact-primary-section {
  background: #F8FAFB;
}

.contact-primary-layout {
  align-items: stretch;
}

.contact-info-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #2D3436;
}

.contact-info-panel .section-kicker {
  color: #1B5E9E;
  font-size: 15px;
  letter-spacing: 0.14em;
}

.contact-info-panel h2 {
  position: relative;
  margin: 6px 0 20px;
  padding-bottom: 14px;
  color: #1B5E9E;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
}

.contact-info-panel h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 92px;
  height: 4px;
  background: #1B5E9E;
}

.contact-info-cards {
  display: grid;
  gap: 14px;
}

.contact-store-block,
.contact-meta-row {
  padding: 0;
  border-bottom: 0;
}

.contact-store-block > span,
.contact-meta-row > span {
  margin-bottom: 12px;
  color: #7B8A95;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.contact-store-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-store-card {
  min-height: 150px;
  padding: 20px 20px 18px;
  border: 1px solid rgba(27, 94, 158, 0.10);
  background: #FFFFFF;
  color: #2D3436;
  box-shadow: 0 10px 24px rgba(28, 47, 66, 0.05);
}

.contact-store-card::before {
  width: 4px;
  background: #1B5E9E;
}

.contact-store-card em {
  color: #00BFA5;
}

.contact-store-card strong {
  color: #1E2B36;
  font-size: 17px;
}

.contact-store-card p {
  color: #636E72;
  font-size: 13px;
}

.contact-store-card b {
  color: #1B5E9E;
}

.contact-store-card:hover {
  border-color: rgba(27, 94, 158, 0.25);
  background: #FFFFFF;
  box-shadow: 0 16px 34px rgba(27, 94, 158, 0.10);
}

.contact-store-card.is-main {
  background: #F1F8FD;
  border-color: rgba(27, 94, 158, 0.18);
}

.contact-meta-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(27, 94, 158, 0.10);
}

.contact-meta-row p {
  color: #2D3436;
  font-size: 16px;
  font-weight: 800;
}

.contact-wechat {
  grid-template-columns: 108px minmax(0, 1fr);
  max-width: 320px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(27, 94, 158, 0.10);
  background: #FFFFFF;
}

.contact-wechat p {
  color: #636E72;
  font-size: 13px;
  line-height: 1.55;
}

.contact-form-panel {
  border-radius: 0;
  box-shadow: 0 14px 34px rgba(28, 47, 66, 0.06);
}

.contact-route-card {
  border-radius: 0;
  box-shadow: 0 14px 34px rgba(28, 47, 66, 0.06);
}

@media (max-width: 980px) {
  .contact-store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .contact-store-grid {
    grid-template-columns: 1fr;
  }

  .contact-meta-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-wechat {
    max-width: none;
  }
}
/* Contact page simplified address block */
.contact-simple-info {
  gap: 12px;
}

.contact-primary-address {
  padding: 18px 0 20px;
  border-top: 1px solid rgba(27, 94, 158, 0.10);
  border-bottom: 1px solid rgba(27, 94, 158, 0.10);
}

.contact-primary-address span {
  display: block;
  margin-bottom: 10px;
  color: #7B8A95;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.contact-primary-address h3 {
  margin: 0 0 10px;
  color: #1E2B36;
  font-size: 22px;
  line-height: 1.35;
}

.contact-primary-address p {
  margin: 0 0 14px;
  color: #636E72;
  line-height: 1.68;
}

.contact-primary-address a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  background: #1B5E9E;
  color: #FFFFFF;
  font-weight: 900;
  text-decoration: none;
}

.contact-primary-address a:hover {
  background: #0F477D;
  color: #FFFFFF;
}

.contact-route-card {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: stretch;
  gap: 22px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.contact-route-card .map-panel,
.amap-panel {
  min-height: 0;
  height: clamp(300px, 33vw, 380px);
  align-self: start;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(28, 47, 66, 0.07);
}

.route-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px;
  height: 100%;
  padding: 26px 26px 22px;
  align-content: start;
  border: 1px solid rgba(27, 94, 158, 0.10);
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: 0 14px 34px rgba(28, 47, 66, 0.07);
}

.route-panel .section-kicker,
.route-panel h2 {
  grid-column: 1 / -1;
}

.route-panel h2 {
  margin: 4px 0 0;
}

.route-item {
  padding: 10px 0 0;
}

.route-item strong {
  margin-bottom: 4px;
  font-size: 15px;
}

.route-item p {
  font-size: 13px;
  line-height: 1.6;
}

.contact-qr-image {
  width: 108px;
  height: 108px;
}

@media (max-width: 980px) {
  .contact-route-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-route-card .map-panel,
  .amap-panel {
    height: 280px;
  }

  .route-panel {
    grid-template-columns: 1fr;
    height: auto;
    padding: 24px 22px 22px;
  }
}

@media (max-width: 768px) {
  .contact-primary-layout {
    align-items: start;
  }

  .contact-wechat {
    grid-template-columns: 96px minmax(0, 1fr);
    max-width: none;
  }

  .contact-qr-image {
    width: 96px;
    height: 96px;
  }

  .contact-route-card .map-panel,
  .amap-panel {
    height: 236px;
  }

  .route-panel {
    height: auto;
    padding: 22px 18px 20px;
    gap: 12px;
  }

  .route-item {
    padding-top: 12px;
  }
}
/* Services page no-price structure refinement */
.service-info-grid-refined {
  align-items: stretch;
}

.service-info-grid-refined section {
  min-height: 100%;
}

.service-info-grid-refined .service-maintenance {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  min-height: auto;
}

.service-maintenance h3 {
  margin: 2px 0 0;
}

.service-maintenance ul {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 24px;
}

@media (max-width: 1080px) {
  .service-info-grid-refined .service-maintenance {
    grid-template-columns: 1fr;
  }

  .service-maintenance ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .service-maintenance ul {
    grid-template-columns: 1fr;
  }
}

.service-focus-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-focus-list li {
  position: relative;
  padding-left: 18px;
  color: #5E6B73;
  line-height: 1.7;
}

.service-focus-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00BFA5;
}

.service-note {
  background: #F1F8FD;
  border-color: rgba(27, 94, 158, 0.12);
}

.service-note .btn {
  width: auto;
  margin-top: 18px;
}

@media (max-width: 768px) {
  .service-note .btn {
    width: 100%;
  }
}
/* Home about culture panel */
#home .culture-panel {
  display: grid;
  gap: 0;
}

#home .culture-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

#home .culture-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(27, 94, 158, 0.10);
  background: #FFFFFF;
  box-shadow: 0 10px 24px rgba(28, 47, 66, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

#home .culture-item > span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1B5E9E;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 900;
}

#home .culture-item h3 {
  margin: 0 0 6px;
  color: #1E2B36;
  font-size: 17px;
  line-height: 1.35;
}

#home .culture-item p {
  margin: 0;
  color: #636E72;
  font-size: 14px;
  line-height: 1.68;
}

#home .culture-item:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 94, 158, 0.22);
  box-shadow: 0 16px 34px rgba(27, 94, 158, 0.10);
}

@media (max-width: 1080px) {
  #home .culture-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #home .culture-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #home .culture-item {
    min-height: auto;
    padding: 16px;
  }
}
#home .culture-grid {
  margin-top: 0;
}
/* Home about image and culture grid alignment */
#home .about-section .about-inner {
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 36px;
}

#home .about-section .about-visual {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  align-self: stretch;
  display: block;
  object-fit: cover;
  object-position: center;
}

#home .about-section .about-visual.about-visual-framed {
  width: 88%;
  height: 88%;
  padding: 0;
  border: 1px solid rgba(27, 94, 158, 0.14);
  border-radius: 12px;
  box-sizing: border-box;
  justify-self: center;
  align-self: end;
  box-shadow: 0 18px 44px rgba(21, 37, 54, 0.12);
  object-position: center 44%;
  transform: translate3d(var(--float-x, 0px), var(--float-y, 0px), 0);
  transform-origin: center center;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, filter 0.24s ease;
  will-change: transform;
}

#home .about-section .about-visual.about-visual-framed:hover {
  box-shadow: 0 24px 54px rgba(21, 37, 54, 0.16);
  filter: saturate(1.03);
}

#home .about-section .about-visual.about-visual-framed.is-floating {
  box-shadow: 0 24px 54px rgba(21, 37, 54, 0.16);
  filter: saturate(1.03);
  transform: translate3d(var(--float-x, 0px), var(--float-y, 0px), 0) scale(1.014);
}

#home .about-section .about-content {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: auto;
}

#home .about-section .section-heading {
  margin-bottom: 20px;
}

#home .culture-panel {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 8px;
}

#home .culture-grid {
  flex: 1;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 8px;
}

#home .culture-item {
  min-height: 74px;
  height: auto;
  padding: 15px 18px;
  gap: 12px;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background-color 0.28s ease, border-color 0.28s ease, color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

#home .culture-item > span {
  width: 38px;
  height: 38px;
  font-size: 12px;
  position: relative;
  z-index: 1;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, color 0.28s ease;
}

#home .culture-item > div {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  position: relative;
  z-index: 1;
}

#home .culture-item h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  transition: color 0.28s ease;
}

#home .culture-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #56656E;
  transition: color 0.28s ease;
}

#home .culture-item::after {
  content: '';
  position: absolute;
  left: 18px;
  bottom: 14px;
  width: 26px;
  height: 3px;
  background: rgba(27, 94, 158, 0.18);
  transition: width 0.28s ease, background-color 0.28s ease;
  pointer-events: none;
  z-index: 0;
}

#home .culture-item:hover,
#home .culture-item.is-hovered {
  background: #1B5E9E;
  border-color: #1B5E9E;
  color: #FFFFFF;
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(27, 94, 158, 0.22);
}

#home .culture-item:hover::after,
#home .culture-item.is-hovered::after {
  width: 42px;
  background: rgba(255, 255, 255, 0.72);
}

#home .culture-item:hover > span,
#home .culture-item.is-hovered > span {
  background: #FFFFFF;
  color: #1B5E9E;
  box-shadow: 0 10px 22px rgba(8, 28, 46, 0.16);
}

#home .culture-item:hover h3,
#home .culture-item.is-hovered h3 {
  color: #FFFFFF;
}

#home .culture-item:hover p,
#home .culture-item.is-hovered p {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1080px) {
  #home .about-section .about-inner {
    grid-template-columns: 1fr;
  }

  #home .about-section .about-visual {
    height: 320px;
    align-self: auto;
  }

  #home .about-section .about-content {
    height: auto;
    min-height: 0;
  }

  #home .about-section .about-visual.about-visual-framed {
    width: 100%;
    height: 100%;
    justify-self: stretch;
    align-self: auto;
    object-position: center 28%;
  }

  #home .culture-item > div {
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 12px;
  }

}

@media (max-width: 768px) {
  #home .about-section .about-visual {
    height: 220px;
  }

  #home .about-section .about-content {
    height: auto;
  }

  #home .about-section .about-visual.about-visual-framed {
    width: 100%;
    height: 100%;
    object-position: center 24%;
  }

  #home .culture-grid {
    grid-template-columns: 1fr;
  }

  #home .culture-panel {
    gap: 12px;
  }

  #home .culture-item {
    padding: 16px;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
  }

  #home .culture-item > span {
    width: 34px;
    height: 34px;
  }

  #home .culture-item > div {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
  }
}
/* Footer final layout refinement */
.site-footer {
  background: #071A2B;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(140px, 0.65fr) minmax(320px, 1.25fr) minmax(150px, 0.55fr);
  gap: 48px;
  align-items: start;
  padding-top: 58px;
  padding-bottom: 42px;
}

.site-footer .footer-column {
  min-width: 0;
}

.site-footer .footer-column .logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 0;
  background: #FFFFFF;
}

.site-footer .footer-column:first-child p {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.85;
}

.site-footer .footer-column h3 {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 12px;
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 900;
}

.site-footer .footer-column h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  background: #00BFA5;
}

.site-footer .footer-column ul:not(.footer-address-list) {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer-column li,
.site-footer .footer-column a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.5;
}

.site-footer .footer-column a:hover {
  color: #FFFFFF;
}

.footer-contact-list {
  display: grid;
  gap: 13px;
}

.footer-contact-list p {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.70);
  font-size: 14px;
  line-height: 1.65;
}

.footer-contact-list span {
  color: rgba(255, 255, 255, 0.44);
  font-weight: 900;
}

.footer-contact-list strong {
  color: #FFFFFF;
  font-size: 18px;
  line-height: 1.25;
}

.footer-qr-column {
  justify-self: end;
}

.footer-qr-column .qr-image {
  width: 126px;
  height: 126px;
  padding: 8px;
  background: #FFFFFF;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

.site-footer .footer-bottom .container {
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-footer .footer-bottom p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1080px) {
  .site-footer .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 34px 44px;
  }

  .footer-qr-column {
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 42px;
    padding-bottom: 32px;
  }

  .footer-contact-list p {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .footer-qr-column .qr-image {
    width: 112px;
    height: 112px;
  }
}
/* Footer logo background removal */
.site-footer .footer-column .logo {
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.site-footer .footer-column .logo span {
  color: #FFFFFF;
}

.site-footer .footer-column .logo-mark {
  filter: none;
}
/* Home doctors carousel full-figure card refinement */
#doctors.doctors-section {
  background: #F8FAFB;
}

#doctors .doctor-carousel {
  display: block;
  padding: 8px 2px 24px;
  overflow: hidden;
}

#doctors .doctor-carousel-track {
  display: flex;
  gap: 20px;
  align-items: stretch;
  width: max-content;
  will-change: transform;
}

#doctors .doctor-carousel .doctor-card {
  position: relative;
  flex: 0 0 260px;
  min-width: 260px;
  min-height: 400px;
  display: grid;
  grid-template-rows: 260px auto 42px;
  align-items: start;
  justify-items: stretch;
  padding: 0 0 22px;
  overflow: hidden;
  border: 1px solid rgba(27, 94, 158, 0.10);
  background: #FFFFFF;
  text-align: left;
  scroll-snap-align: none;
  box-shadow: 0 12px 28px rgba(28, 47, 66, 0.07);
}

#doctors .doctor-carousel .doctor-photo,
#doctors .doctor-carousel .avatar-placeholder.photo-cover {
  --doctor-photo-position-x: 50%;
  --doctor-photo-position-y: 10%;
  width: 100%;
  height: 260px;
  min-width: 0;
  min-height: 260px;
  max-width: none;
  max-height: none;
  display: block;
  margin: 0 0 20px;
  border-radius: 0;
  background: linear-gradient(180deg, #EAF6FC 0%, #FFFFFF 100%);
  object-fit: cover;
  object-position: var(--doctor-photo-position-x) var(--doctor-photo-position-y);
  box-shadow: none;
}

#doctors .doctor-carousel .doctor-card h3,
#doctors .doctor-carousel .doctor-card > p,
#doctors .doctor-carousel .tag-list,
#doctors .doctor-carousel .btn-small {
  margin-left: 22px;
  margin-right: 22px;
}

#doctors .doctor-carousel h3 {
  width: auto;
  margin-top: 0;
  margin-bottom: 4px;
  color: #1E2B36;
  font-size: 23px;
  line-height: 1.28;
}

#doctors .doctor-carousel .doctor-card h3 .doctor-title {
  margin-left: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.28;
  color: #1B5E9E;
  white-space: nowrap;
}

#doctors .doctor-carousel .doctor-card > p:not(.doctor-summary) {
  width: auto;
  margin-top: 0;
  margin-bottom: 16px;
  color: #1B5E9E;
  font-size: 15px;
  line-height: 1.45;
}

#doctors .doctor-carousel .tag-list {
  width: auto;
  min-height: 0;
  display: flex;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

#doctors .doctor-carousel .tag-list span {
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 0;
  background: #F1F8FD;
  color: #1B5E9E;
  font-size: 12px;
  font-weight: 800;
}

#doctors .doctor-carousel .btn-small {
  align-self: end;
  justify-self: start;
  min-width: 88px;
  height: 38px;
  min-height: 38px;
  margin-top: 0;
}

#doctors .doctor-carousel .doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(27, 94, 158, 0.13);
}

@media (max-width: 1080px) {
  #doctors .doctor-carousel .doctor-card {
    flex-basis: 240px;
    min-width: 240px;
    grid-template-rows: 240px auto 42px;
    min-height: 380px;
  }

  #doctors .doctor-carousel .doctor-photo,
  #doctors .doctor-carousel .avatar-placeholder.photo-cover {
    height: 220px;
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  #doctors .doctor-carousel {
    padding-bottom: 18px;
  }

  #doctors .doctor-carousel .doctor-card {
    flex-basis: 78vw;
    min-width: 78vw;
    max-width: 320px;
    grid-template-rows: 230px auto 42px;
    min-height: 370px;
  }

  #doctors .doctor-carousel .doctor-photo,
  #doctors .doctor-carousel .avatar-placeholder.photo-cover {
    height: 230px;
    min-height: 230px;
  }
}
/* Home doctors JS hover effects */
#doctors .doctor-carousel .doctor-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 24%), rgba(46, 134, 209, 0.18), transparent 34%);
  transition: opacity 0.25s ease;
}

#doctors .doctor-carousel .doctor-card.is-doctor-active {
  border-color: rgba(27, 94, 158, 0.30);
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(27, 94, 158, 0.18);
}

#doctors .doctor-carousel .doctor-card.is-doctor-active::after {
  opacity: 1;
}

#doctors .doctor-carousel .doctor-photo {
  transition: object-position 0.35s ease;
}

#doctors .doctor-carousel .doctor-photo--wangliwei {
  --doctor-photo-position-x: 51%;
  --doctor-photo-position-y: 10%;
}

#doctors .doctor-carousel .doctor-photo--wangchang {
  --doctor-photo-position-x: 50%;
  --doctor-photo-position-y: 10%;
}

#doctors .doctor-carousel .doctor-photo--fenglu {
  --doctor-photo-position-x: 50%;
  --doctor-photo-position-y: 9%;
}

#doctors .doctor-carousel .doctor-photo--liujinlong {
  --doctor-photo-position-x: 51%;
  --doctor-photo-position-y: 10%;
}

#doctors .doctor-carousel .doctor-photo--lipei {
  --doctor-photo-position-x: 50%;
  --doctor-photo-position-y: 9%;
}

#doctors .doctor-carousel .doctor-photo--wuxiong {
  --doctor-photo-position-x: 50%;
  --doctor-photo-position-y: 10%;
}

#doctors .doctor-carousel.is-doctor-hovering .doctor-card:not(.is-doctor-active) {
  opacity: 0.78;
}

#doctors .doctor-carousel .doctor-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}
/* Home doctors visible carousel confirmation */
#doctors .doctor-carousel.is-doctor-ready {
  cursor: grab;
}

#doctors .doctor-carousel.is-doctor-ready .doctor-card:first-child {
  animation: doctorCardIntro 1.2s ease both;
}

@keyframes doctorCardIntro {
  0% { transform: translateY(0); }
  45% { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(27, 94, 158, 0.18); }
  100% { transform: translateY(0); }
}






/* Home doctor carousel controls refinement */
#doctors .doctor-carousel {
  position: relative;
  display: block !important;
  gap: 0 !important;
  align-items: initial !important;
  overflow: hidden;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

#doctors .doctor-carousel-track {
  display: flex;
  gap: 20px;
  align-items: stretch;
  width: max-content;
  will-change: transform;
}

#doctors .doctor-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(27, 94, 158, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: #1B5E9E;
  box-shadow: 0 12px 28px rgba(27, 94, 158, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

#doctors .doctor-carousel-arrow span {
  display: block;
  margin-top: -2px;
  font-size: 30px;
  font-family: Arial, sans-serif;
  line-height: 34px;
}

#doctors .doctor-carousel-prev {
  left: 8px;
}

#doctors .doctor-carousel-next {
  right: 8px;
}

#doctors .doctor-carousel-arrow:hover,
#doctors .doctor-carousel-arrow:focus-visible {
  border-color: #1B5E9E;
  background: #1B5E9E;
  color: #FFFFFF;
  box-shadow: 0 16px 34px rgba(27, 94, 158, 0.22);
  transform: translateY(-50%) scale(1.06);
  outline: none;
}

#doctors .doctor-carousel.is-doctor-hovering .doctor-carousel-arrow {
  opacity: 1;
}

@media (max-width: 768px) {
  #doctors .doctor-carousel-track {
    gap: 14px;
  }

  #doctors .doctor-carousel-arrow {
    width: 34px;
    height: 34px;
  }

  #doctors .doctor-carousel-prev {
    left: 4px;
  }

  #doctors .doctor-carousel-next {
    right: 4px;
  }

  #doctors .doctor-carousel-arrow span {
    font-size: 26px;
    line-height: 30px;
  }
}

/* Doctors page full-figure cards synced with home carousel */
.doctors-page .doctor-list-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.doctors-page .doctor-card {
  position: relative;
  display: grid;
  grid-template-rows: 270px auto auto auto 1fr 42px;
  min-height: 560px;
  padding: 0 0 24px;
  overflow: hidden;
  border: 1px solid rgba(27, 94, 158, 0.10);
  border-radius: 0;
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(28, 47, 66, 0.07);
  text-align: left;
}

.doctors-page .doctor-card:hover {
  transform: translateY(-5px);
  border-color: rgba(27, 94, 158, 0.20);
  box-shadow: 0 20px 42px rgba(27, 94, 158, 0.13);
}

.doctors-page .doctor-photo,
.doctors-page .avatar-placeholder.photo-cover {
  width: 100%;
  height: 270px;
  min-width: 0;
  min-height: 270px;
  max-width: none;
  max-height: none;
  display: block;
  margin: 0 0 20px;
  border-radius: 0;
  background: linear-gradient(180deg, #EAF6FC 0%, #FFFFFF 100%);
  object-fit: cover;
  object-position: center top;
  box-shadow: none;
  transition: transform 0.35s ease;
}

.doctors-page .doctor-card:hover .doctor-photo {
  transform: scale(1.035);
}

.doctors-page .doctor-card h3,
.doctors-page .doctor-card > p,
.doctors-page .doctor-card .tag-list,
.doctors-page .doctor-card .doctor-summary,
.doctors-page .doctor-card .btn-small {
  margin-left: 24px;
  margin-right: 24px;
}

.doctors-page .doctor-card h3 {
  margin-top: 0;
  margin-bottom: 4px;
  color: #1E2B36;
  font-size: 24px;
  line-height: 1.28;
}

.doctors-page .doctor-card > p:not(.doctor-summary) {
  margin-top: 0;
  margin-bottom: 16px;
  color: #1B5E9E;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.doctors-page .doctor-card .tag-list {
  min-height: 0;
  justify-content: flex-start;
  align-content: flex-start;
  gap: 8px;
  margin-bottom: 18px;
}

.doctors-page .doctor-card .tag-list span {
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 0;
  background: #F1F8FD;
  color: #1B5E9E;
  font-size: 12px;
  font-weight: 800;
}

.doctors-page .doctor-summary {
  min-height: 0;
  margin-top: 0;
  margin-bottom: 20px;
  color: #636E72;
  font-size: 14px;
  line-height: 1.7;
}

.doctors-page .doctor-card .btn-small {
  align-self: end;
  justify-self: start;
  width: auto;
  min-width: 112px;
  height: 38px;
  min-height: 38px;
  margin-top: 0;
  border-radius: 999px;
}

@media (max-width: 1080px) {
  .doctors-page .doctor-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doctors-page .doctor-card {
    grid-template-rows: 250px auto auto auto 1fr 42px;
    min-height: 535px;
  }

  .doctors-page .doctor-photo,
  .doctors-page .avatar-placeholder.photo-cover {
    height: 250px;
    min-height: 250px;
  }
}

@media (max-width: 768px) {
  .doctors-page .doctor-list-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .doctors-page .doctor-card {
    grid-template-rows: 260px auto auto auto 1fr 40px;
    min-height: 520px;
    padding-bottom: 22px;
  }

  .doctors-page .doctor-photo,
  .doctors-page .avatar-placeholder.photo-cover {
    height: 260px;
    min-height: 260px;
  }

  .doctors-page .doctor-card h3,
  .doctors-page .doctor-card > p,
  .doctors-page .doctor-card .tag-list,
  .doctors-page .doctor-card .doctor-summary,
  .doctors-page .doctor-card .btn-small {
    margin-left: 20px;
    margin-right: 20px;
  }
}

/* Doctors page image size unified with home doctor carousel */
.doctors-page .doctor-list-grid {
  grid-template-columns: repeat(3, 260px);
  justify-content: center;
  gap: 24px;
}

.doctors-page .doctor-card {
  width: 260px;
  grid-template-rows: 260px auto auto auto 1fr 42px;
  min-height: 470px;
}

.doctors-page .doctor-photo,
.doctors-page .avatar-placeholder.photo-cover {
  width: 260px;
  height: 260px;
  min-width: 260px;
  min-height: 260px;
  max-width: 260px;
  max-height: 260px;
}

@media (max-width: 1080px) {
  .doctors-page .doctor-list-grid {
    grid-template-columns: repeat(2, 260px);
  }

  .doctors-page .doctor-card {
    grid-template-rows: 260px auto auto auto 1fr 42px;
    min-height: 470px;
  }

  .doctors-page .doctor-photo,
  .doctors-page .avatar-placeholder.photo-cover {
    width: 260px;
    height: 260px;
    min-width: 260px;
    min-height: 260px;
    max-width: 260px;
    max-height: 260px;
  }
}

@media (max-width: 768px) {
  .doctors-page .doctor-list-grid {
    grid-template-columns: minmax(0, 320px);
  }

  .doctors-page .doctor-card {
    width: min(100%, 320px);
  }

  .doctors-page .doctor-photo,
  .doctors-page .avatar-placeholder.photo-cover {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

/* Doctors page layout rebalance after image unification */
.doctors-page .doctor-list-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: stretch;
  gap: 28px;
}

.doctors-page .doctor-card {
  width: auto;
  min-height: 560px;
  grid-template-rows: minmax(280px, 32vw) auto auto auto 1fr 42px;
  border-radius: 0;
}

.doctors-page .doctor-photo,
.doctors-page .avatar-placeholder.photo-cover {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 280px;
  max-width: none;
  max-height: 340px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
}

.doctors-page .doctor-card h3,
.doctors-page .doctor-card > p,
.doctors-page .doctor-card .tag-list,
.doctors-page .doctor-card .doctor-summary,
.doctors-page .doctor-card .btn-small {
  margin-left: 26px;
  margin-right: 26px;
}

.doctors-page .doctor-summary {
  min-height: 48px;
}

@media (max-width: 1080px) {
  .doctors-page .doctor-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .doctors-page .doctor-card {
    width: auto;
    min-height: 540px;
    grid-template-rows: minmax(270px, 42vw) auto auto auto 1fr 42px;
  }

  .doctors-page .doctor-photo,
  .doctors-page .avatar-placeholder.photo-cover {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 270px;
    max-width: none;
    max-height: 340px;
  }
}

@media (max-width: 768px) {
  .doctors-page .doctor-list-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .doctors-page .doctor-card {
    width: 100%;
    min-height: 0;
    grid-template-rows: minmax(260px, 78vw) auto auto auto auto 40px;
  }

  .doctors-page .doctor-photo,
  .doctors-page .avatar-placeholder.photo-cover {
    width: 100%;
    height: 100%;
    min-height: 260px;
    max-height: 360px;
  }

  .doctors-page .doctor-card h3,
  .doctors-page .doctor-card > p,
  .doctors-page .doctor-card .tag-list,
  .doctors-page .doctor-card .doctor-summary,
  .doctors-page .doctor-card .btn-small {
    margin-left: 20px;
    margin-right: 20px;
  }
}

/* News page */
.news-page .section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.news-banner {
  min-height: 220px;
  background: #0F477D;
}

.news-banner .container {
  display: grid;
  gap: 10px;
}

.news-banner h1 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
}

.news-banner p:last-child {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.65;
}

.news-banner .news-banner-note {
  max-width: 900px;
  padding: 14px 18px 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.06) 100%);
  box-shadow: 0 12px 28px rgba(9, 31, 56, 0.12);
  color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
}

.news-banner .news-banner-note strong {
  display: inline-block;
  margin-right: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(46, 134, 209, 0.18);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.news-banner .news-banner-note a {
  color: #FFFFFF;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: border-color 0.25s ease, opacity 0.25s ease;
}

.news-banner .news-banner-note a:hover {
  opacity: 0.92;
  border-color: rgba(255, 255, 255, 0.58);
}

.news-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.news-feature-card,
.news-side-list,
.news-card {
  border: 1px solid rgba(27, 94, 158, 0.10);
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(28, 47, 66, 0.07);
}

.news-feature-card {
  display: grid;
  grid-template-columns: 48% 1fr;
  min-height: 360px;
  overflow: hidden;
}

.news-feature-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
}

.news-feature-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
}

.news-date {
  margin: 0 0 12px;
  color: #1B5E9E;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.news-feature-content h2 {
  margin: 0 0 18px;
  color: #1E2B36;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.25;
}

.news-feature-content p:not(.news-date),
.news-card p:last-child,
.news-side-list span {
  color: #636E72;
  font-size: 15px;
  line-height: 1.78;
}

.news-feature-content a {
  width: fit-content;
  margin-top: 22px;
  color: #1B5E9E;
  font-weight: 900;
}

.news-side-list {
  display: grid;
  align-content: stretch;
}

.news-side-list article {
  padding: 28px;
  border-bottom: 1px solid rgba(27, 94, 158, 0.10);
}

.news-side-list article:last-child {
  border-bottom: 0;
}

.news-side-list p {
  margin: 0 0 10px;
  color: #1B5E9E;
  font-size: 13px;
  font-weight: 900;
}

.news-side-list h3,
.news-card h3 {
  margin: 0 0 12px;
  color: #1E2B36;
  font-size: 20px;
  line-height: 1.35;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 190px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 94, 158, 0.20);
  box-shadow: 0 20px 42px rgba(27, 94, 158, 0.13);
}

.news-card img {
  width: 180px;
  height: 100%;
}

.news-card div {
  padding: 26px;
}

.news-card p:last-child {
  margin: 0;
}

.site-header .nav-menu {
  gap: 18px;
}

@media (max-width: 1380px) {
  .site-header .nav-menu {
    gap: 14px;
  }

  .site-header .nav-menu a:not(.btn) {
    font-size: 14px;
  }
}

@media (max-width: 1080px) {
  .news-feature-layout,
  .news-feature-card,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-feature-card img {
    min-height: 280px;
    height: 280px;
  }

  .news-card {
    grid-template-columns: 220px 1fr;
  }

  .news-card img {
    width: 220px;
  }
}

@media (max-width: 768px) {
  .news-page .section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .news-banner .news-banner-note {
    padding: 14px 16px 14px 18px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.75;
  }

  .news-banner .news-banner-note strong {
    margin-bottom: 6px;
  }

  .news-feature-layout {
    gap: 18px;
  }

  .news-feature-content,
  .news-side-list article,
  .news-card div {
    padding: 22px;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card img {
    width: 100%;
    height: 220px;
  }
}

/* Simple news layout */
.news-simple-page .news-simple-section {
  background: #F8FAFB;
}

.news-simple-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 48px;
  align-items: start;
}

.news-simple-image {
  width: 100%;
  height: 280px;
  border: 0;
  object-position: center;
}

.news-simple-visual {
  position: sticky;
  top: 150px;
  overflow: hidden;
  background: #EAF3F8;
}

.news-simple-image {
  transition: opacity 0.28s ease, transform 0.45s ease;
}

.news-simple-image.is-switching {
  opacity: 0;
  transform: scale(1.025);
}

.news-simple-image.is-news-loading {
  opacity: 0;
  transition: opacity 0s ease;
}

.news-simple-content {
  border-top: 2px solid #1B5E9E;
}

.news-simple-item {
  position: relative;
  padding: 26px 0;
  border-bottom: 1px solid rgba(27, 94, 158, 0.14);
  cursor: pointer;
  transition: padding 0.28s ease, transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.news-simple-item.is-featured {
  padding-top: 30px;
}

.news-simple-item h2,
.news-simple-item h3 {
  margin: 0;
  color: #1E2B36;
  letter-spacing: 0;
  transition: color 0.28s ease;
}

.news-simple-item h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.25;
}

.news-simple-item h3 {
  font-size: 20px;
  line-height: 1.45;
}

.news-simple-item p:not(.news-date) {
  margin: 0;
  color: #636E72;
  font-size: 15px;
  line-height: 1.8;
}

.news-simple-item.is-active,
.news-simple-item:hover,
.news-simple-item:focus {
  padding-left: 24px;
  padding-right: 24px;
  border-color: transparent;
  background: #FFFFFF;
  box-shadow: 0 16px 34px rgba(27, 94, 158, 0.10);
  transform: translateY(-4px);
  outline: none;
}

.news-simple-item.is-active::before,
.news-simple-item:hover::before,
.news-simple-item:focus::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 4px;
  background: #1B5E9E;
}

.news-simple-item.is-active h2,
.news-simple-item.is-active h3,
.news-simple-item:hover h2,
.news-simple-item:hover h3,
.news-simple-item:focus h2,
.news-simple-item:focus h3 {
  color: #1B5E9E;
}

@media (max-width: 1080px) {
  .news-simple-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .news-simple-image {
    height: 260px;
  }

  .news-simple-visual {
    position: relative;
    top: auto;
  }
}

@media (max-width: 768px) {
  .news-simple-layout {
    gap: 26px;
  }

  .news-simple-image {
    height: 190px;
  }

  .news-simple-item {
    padding: 22px 0;
  }

  .news-simple-item.is-active,
  .news-simple-item:hover,
  .news-simple-item:focus {
    padding-left: 18px;
    padding-right: 18px;
  }

  .news-simple-item h3 {
    font-size: 18px;
  }
}

/* News pagination */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 34px;
  padding: 20px 22px;
  border: 1px solid rgba(27, 94, 158, 0.12);
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(28, 47, 66, 0.06);
}

.news-pagination[hidden] {
  display: none;
}

.news-pagination-meta {
  margin: 0;
  color: #68757D;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.news-pagination-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.news-pagination-controls a,
.news-pagination-controls span {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(27, 94, 158, 0.16);
  color: #1B5E9E;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.news-pagination-controls a:hover,
.news-pagination-controls a:focus-visible,
.news-pagination-controls .is-current {
  border-color: #1B5E9E;
  background: #1B5E9E;
  color: #FFFFFF;
  transform: translateY(-2px);
  outline: none;
}

.news-pagination-controls .news-page-nav {
  min-width: 74px;
}

.news-pagination-controls .is-disabled {
  border-color: rgba(27, 94, 158, 0.08);
  background: #F4F7F9;
  color: #A2ABB0;
  cursor: not-allowed;
}

.news-pagination-controls .news-page-ellipsis {
  min-width: 28px;
  padding: 0 4px;
  border-color: transparent;
}

.news-simple-content[aria-busy="true"] {
  opacity: 0.58;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

@media (max-width: 768px) {
  .news-pagination {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 26px;
    padding: 16px;
  }

  .news-pagination-meta {
    text-align: center;
  }

  .news-pagination-controls {
    justify-content: center;
  }

  .news-pagination-controls a,
  .news-pagination-controls span {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
  }

  .news-pagination-controls .news-page-nav {
    min-width: 66px;
  }
}

/* News article detail */
.article-page {
  background: #F8FAFB;
}

.article-hero {
  padding: 72px 0 44px;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(27, 94, 158, 0.12);
}

.article-shell {
  max-width: 860px;
  margin: 0 auto;
}

.article-breadcrumb {
  margin: 0 0 22px;
  color: #6C7A80;
  font-size: 14px;
}

.article-breadcrumb a {
  color: #1B5E9E;
  font-weight: 600;
}

.article-title {
  margin: 0;
  color: #17384F;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.18;
  letter-spacing: 0;
}

.article-summary {
  max-width: 760px;
  margin: 24px 0 0;
  color: #536870;
  font-size: 18px;
  line-height: 1.85;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  color: #7A8A91;
  font-size: 14px;
}

.article-cover-wrap {
  width: min(760px, 100%);
  margin: 34px auto 0;
  overflow: hidden;
  background: #EAF3F8;
}

.article-cover {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
}

.article-cover-wrap.is-adaptive {
  aspect-ratio: 19 / 8;
  padding: 10px;
  background: linear-gradient(145deg, #FCFDFB 0%, #F2F7FA 100%);
  border: 1px solid rgba(27, 94, 158, 0.08);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(27, 94, 158, 0.055);
}

.article-cover-wrap.is-adaptive .article-cover {
  height: 100%;
  object-fit: contain;
  border-radius: 11px;
}

.article-content {
  padding: 48px 0 72px;
}

.article-body {
  background: #FFFFFF;
  padding: 44px 56px;
  border-left: 4px solid #1B5E9E;
  box-shadow: 0 14px 36px rgba(27, 94, 158, 0.08);
}

.article-body h2 {
  margin: 36px 0 16px;
  color: #17384F;
  font-size: 24px;
  line-height: 1.35;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin: 30px 0 14px;
  color: #17384F;
  font-size: 20px;
  line-height: 1.4;
}

.article-body h4 {
  margin: 24px 0 12px;
  color: #17384F;
  font-size: 18px;
  line-height: 1.5;
}

.article-body p {
  margin: 0 0 20px;
  color: #52656C;
  font-size: 17px;
  line-height: 2;
}

.article-body figure {
  margin: 30px 0;
}

.article-body figure img,
.article-body > img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 720px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(27, 94, 158, 0.1);
}

/* 直接作为正文顶层元素的图片（公众号导入裸图）：纵向留间距，便于多图与段落区分 */
.article-body > img {
  margin: 0 auto 24px;
}

.article-body figcaption {
  margin-top: 10px;
  color: #829198;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.article-body blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  color: #52656C;
  font-size: 16px;
  line-height: 1.9;
  background: #F3F8FC;
  border-left: 4px solid #1B5E9E;
}

.article-body ul {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.article-body ol {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  counter-reset: article-ol;
}

.article-body li {
  position: relative;
  padding-left: 18px;
  color: #52656C;
  font-size: 16px;
  line-height: 1.9;
}

.article-body ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: #00BFA5;
}

.article-body ol > li {
  padding-left: 36px;
}

.article-body ol > li::before {
  content: counter(article-ol);
  counter-increment: article-ol;
  position: absolute;
  left: 0;
  top: 4px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  background: #1B5E9E;
  border-radius: 99px;
}

.article-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(27, 94, 158, 0.12);
}

.article-actions a {
  color: #1B5E9E;
  font-weight: 700;
}

.article-related {
  margin-top: 42px;
  padding: 28px 0 0;
  border-top: 1px solid rgba(27, 94, 158, 0.14);
}

.article-related h2 {
  margin: 0 0 18px;
  color: #17384F;
  font-size: 24px;
}

.article-related-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.article-related-list a {
  display: block;
  min-height: 112px;
  padding: 20px;
  background: #FFFFFF;
  color: #17384F;
  font-weight: 700;
  line-height: 1.6;
  box-shadow: 0 10px 28px rgba(27, 94, 158, 0.07);
  transition: color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.article-related-list a:hover {
  color: #1B5E9E;
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(27, 94, 158, 0.12);
}

@media (max-width: 900px) {
  .article-cover {
    height: 160px;
  }

  .article-body {
    padding: 34px 30px;
  }

  .article-related-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .article-hero {
    padding: 48px 0 32px;
  }

  .article-title {
    font-size: 30px;
  }

  .article-summary {
    font-size: 16px;
  }

  .article-cover {
    height: 128px;
  }

  .article-cover-wrap.is-adaptive {
    padding: 6px;
    border-radius: 12px;
  }

  .article-cover-wrap.is-adaptive .article-cover {
    border-radius: 8px;
  }

  .article-content {
    padding: 36px 0 50px;
  }

  .article-body {
    padding: 28px 22px;
  }

  .article-body p {
    font-size: 16px;
  }

  .article-actions {
    flex-direction: column;
  }
}

/* ===== Mobile navigation fix: hamburger stays right, menu drops cleanly below header ===== */
@media (max-width: 980px) {
  .site-header .nav-inner {
    justify-content: space-between;
  }

  /* When collapsed, take the menu out of flow so the hamburger stays on the right */
  .site-header .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: none;
    overflow: hidden;
    margin: 0;
    padding: 0 24px;
    background: #FFFFFF;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 18px 32px rgba(20, 55, 86, 0.16);
    z-index: 999;
  }

  .site-header .nav-menu.is-open {
    display: flex;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    padding: 12px 24px 24px;
  }

  .site-header .nav-menu a:not(.btn) {
    align-items: flex-start;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .site-header .nav-menu .btn {
    width: 100%;
    margin-top: 12px;
  }
}

/* Doctors page final compact card fix: keep image and text in adjacent rows. */
.doctors-page .doctor-card {
  min-height: 0;
  grid-template-rows: auto auto auto auto 1fr auto;
}

.doctors-page .doctor-photo,
.doctors-page .avatar-placeholder.photo-cover {
  width: 100%;
  height: clamp(300px, 24vw, 380px);
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  margin-bottom: 18px;
}

.doctors-page .doctor-summary {
  min-height: 0;
}

@media (max-width: 768px) {
  .doctors-page .doctor-card {
    min-height: 0;
    grid-template-rows: auto auto auto auto auto auto;
  }

  .doctors-page .doctor-photo,
  .doctors-page .avatar-placeholder.photo-cover {
    height: clamp(300px, 105vw, 440px);
    min-height: 0;
    max-height: 440px;
  }
}

/* Home doctor carousel: stable portrait ratio and touch-drag feedback. */
#doctors .doctor-carousel {
  --home-doctor-card-width: clamp(232px, 22vw, 280px);
  touch-action: pan-y pinch-zoom;
  overscroll-behavior-x: contain;
}

#doctors .doctor-carousel .doctor-card {
  flex-basis: var(--home-doctor-card-width);
  min-width: var(--home-doctor-card-width);
  max-width: var(--home-doctor-card-width);
  min-height: 0;
  grid-template-rows: auto auto auto 54px 42px;
}

#doctors .doctor-carousel .doctor-photo,
#doctors .doctor-carousel .avatar-placeholder.photo-cover {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

#doctors .doctor-carousel-track.is-touch-dragging,
#doctors .doctor-carousel-track.is-pointer-dragging {
  cursor: grabbing;
  will-change: transform;
  user-select: none;
}

@media (max-width: 1080px) {
  #doctors .doctor-carousel {
    --home-doctor-card-width: clamp(228px, 30vw, 252px);
  }
}

@media (max-width: 768px) {
  #doctors .doctor-carousel {
    --home-doctor-card-width: min(82vw, 320px);
  }

  #doctors .doctor-carousel .doctor-card {
    grid-template-rows: auto auto auto 54px 42px;
  }

  #doctors .doctor-carousel .doctor-photo,
  #doctors .doctor-carousel .avatar-placeholder.photo-cover {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }
}

/* Dynamic legal footer and message captcha */
.footer-legal { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; text-align: center; }
.footer-legal a { color: inherit; text-decoration: none; opacity: .9; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }
.captcha-control { display: grid; grid-template-columns: minmax(120px, 1fr) 156px auto; gap: 10px; align-items: center; }
.captcha-control input { min-width: 0; text-transform: uppercase; letter-spacing: .12em; }
.captcha-control img { display: block; width: 156px; height: 48px; background: #f1f7fa; border: 1px solid rgba(27, 94, 158, .16); border-radius: 8px; }
.captcha-control button { height: 42px; padding: 0 14px; color: #1B5E9E; font-weight: 700; cursor: pointer; background: #fff; border: 1px solid rgba(27, 94, 158, .2); border-radius: 8px; }
.captcha-control button:hover { background: #eff7fb; border-color: #1B5E9E; }
.captcha-help { color: #7A8A91; font-size: 12px; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
@media (max-width: 640px) {
  .captcha-control { grid-template-columns: minmax(0, 1fr) auto; }
  .captcha-control img { width: 132px; }
  .captcha-control button { grid-column: 1 / -1; justify-self: start; }
}
/* Public quality audit: privacy, compliance and accessible controls */
.footer-medical-notice {
  max-width: 920px;
  margin: 8px auto 0 !important;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 12px !important;
  line-height: 1.65 !important;
  text-align: center;
}

.privacy-inline-note {
  margin-top: 0;
  text-align: center;
}

.privacy-inline-note p {
  margin: 0;
  color: #7A8A91;
  font-size: 12px;
  line-height: 1.6;
}

.privacy-inline-note a {
  color: #1B5E9E;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doctor-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  width: auto;
  min-width: 0;
  padding: 0 24px;
}

.doctors-page .doctor-card .doctor-card-actions .btn-small,
.doctor-card-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  margin-right: 0;
  margin-left: 0;
  padding-right: 10px;
  padding-left: 10px;
  text-align: center;
}

.doctor-details-trigger {
  border-color: rgba(27, 94, 158, 0.24);
  background: #FFFFFF;
  color: #1B5E9E;
}

.legal-content-section {
  background: #F6F9FB;
}

.legal-content-card {
  max-width: 980px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(27, 94, 158, 0.10);
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 18px 44px rgba(28, 47, 66, 0.07);
}

.legal-content-card > p,
.legal-content-card section p {
  color: #526471;
  line-height: 1.9;
}

.legal-content-card section {
  padding-top: 26px;
}

.legal-content-card h2 {
  margin-bottom: 10px;
  color: #1E2B36;
  font-size: 21px;
}

.legal-version {
  padding: 12px 16px;
  border-radius: 10px;
  background: #EEF6FB;
}

.legal-actions {
  margin-top: 34px;
}

.medical-content-notice {
  margin-top: 30px;
  padding: 18px 20px;
  border: 1px solid rgba(27, 94, 158, 0.14);
  border-radius: 12px;
  background: #F4F8FB;
  color: #526471;
}

.medical-content-notice strong {
  color: #1B5E9E;
}

.medical-content-notice p {
  margin: 6px 0 0;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .site-footer .footer-column li a,
  .site-footer .footer-bottom a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .doctor-card-actions {
    padding-right: 18px;
    padding-left: 18px;
  }

  .legal-content-card {
    padding: 26px 20px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #doctors .doctor-carousel-track,
  #doctors .doctor-card,
  .modal-dialog {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Compact footer reflow for browser zoom and narrow screens. */
@media (max-width: 1080px) {
  .site-footer .footer-grid {
    gap: 28px 36px;
    padding-top: 42px;
    padding-bottom: 32px;
  }
}

@media (max-width: 768px) {
  .site-footer .footer-grid {
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 22px 18px;
    padding-top: 30px;
    padding-bottom: 24px;
  }

  .site-footer .footer-column:first-child {
    grid-column: 1 / -1;
  }

  .site-footer .footer-column:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .site-footer .footer-contact-column {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .site-footer .footer-qr-column {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }

  .site-footer .footer-column .logo {
    margin-bottom: 12px;
  }

  .site-footer .footer-column h3 {
    margin-bottom: 14px;
    padding-bottom: 8px;
    font-size: 16px;
  }

  .site-footer .footer-column ul:not(.footer-address-list) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 14px;
  }

  .site-footer .footer-contact-list {
    gap: 10px;
  }

  .site-footer .footer-contact-list p {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 8px;
    line-height: 1.55;
  }

  .site-footer .footer-qr-column .qr-image {
    width: 96px;
    height: 96px;
    padding: 6px;
  }

  .site-footer .footer-bottom .container {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-footer .footer-medical-notice {
    margin-top: 6px !important;
    line-height: 1.55 !important;
  }
}

@media (min-width: 520px) and (max-width: 768px) {
  .site-footer .footer-contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }
}

/* Doctor profile modal */
.doctor-profile-modal .modal-overlay {
  background: rgba(18, 35, 53, 0.62);
  backdrop-filter: blur(3px);
}

.doctor-profile-dialog {
  width: min(100%, 700px);
  max-height: min(760px, calc(100vh - 32px));
  overflow: auto;
  padding: 0;
  border: 1px solid rgba(17, 82, 121, 0.12);
  border-radius: 24px;
  box-shadow: 0 24px 68px rgba(15, 38, 61, 0.26);
}

.doctor-profile-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 68px 24px 28px;
  color: #fff;
  background: linear-gradient(135deg, #0d6d9f 0%, #1383b2 54%, #51b4bd 100%);
  background-size: 220% 220%;
  animation: doctor-profile-gradient-flow 10s ease-in-out infinite;
}

@keyframes doctor-profile-gradient-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.doctor-profile-photo {
  width: 104px;
  height: 128px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: #e8f2f6;
  box-shadow: 0 10px 24px rgba(9, 58, 88, 0.2);
}

.doctor-profile-heading p {
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.doctor-profile-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 4vw, 34px);
}

.doctor-profile-heading > span {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
}

.doctor-profile-heading > span:empty {
  display: none;
}

.doctor-profile-dialog .modal-close {
  top: 18px;
  right: 18px;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.doctor-profile-dialog .modal-close:hover,
.doctor-profile-dialog .modal-close:focus-visible {
  color: #0d6d9f;
  background: #fff;
}

.doctor-profile-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 20px 28px;
  border-bottom: 1px solid #e8eef1;
  background: #f7fbfc;
}

.doctor-profile-facts > div {
  min-width: 0;
  padding: 2px 18px;
  border-right: 1px solid #dce9ed;
}

.doctor-profile-facts > div:first-child {
  padding-left: 0;
}

.doctor-profile-facts > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.doctor-profile-facts dt {
  margin-bottom: 7px;
  color: #77909a;
  font-size: 13px;
}

.doctor-profile-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #24485c;
  font-size: 15px;
  font-weight: 700;
}

.doctor-profile-section {
  padding: 22px 28px 0;
}

.doctor-profile-section h3 {
  margin: 0 0 12px;
  color: #234d64;
  font-size: 17px;
}

.doctor-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.doctor-profile-tags span {
  padding: 6px 11px;
  border-radius: 999px;
  color: #087da7;
  background: #e9f7f9;
  font-size: 14px;
}

.doctor-profile-intro p {
  margin: 0;
  color: #5b707b;
  line-height: 1.8;
  white-space: pre-line;
}

.doctor-profile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding: 18px 28px 22px;
  border-top: 1px solid #edf1f2;
}

.doctor-profile-footer p {
  margin: 0;
  color: #527080;
  font-size: 14px;
  line-height: 1.55;
}

.doctor-profile-footer p:empty {
  display: none;
}

.doctor-profile-footer .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .doctor-profile-dialog {
    max-height: calc(100vh - 20px);
    border-radius: 18px;
  }

  .doctor-profile-hero {
    gap: 15px;
    padding: 22px 52px 20px 20px;
  }

  .doctor-profile-photo {
    width: 76px;
    height: 98px;
    border-radius: 13px;
  }

  .doctor-profile-heading > span {
    font-size: 13px;
  }

  .doctor-profile-facts {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 18px 20px;
  }

  .doctor-profile-facts > div,
  .doctor-profile-facts > div:first-child,
  .doctor-profile-facts > div:last-child {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: baseline;
    gap: 8px;
    padding: 0;
    border: 0;
  }

  .doctor-profile-facts dt {
    margin: 0;
  }

  .doctor-profile-section {
    padding: 20px 20px 0;
  }

  .doctor-profile-footer {
    align-items: stretch;
    flex-direction: column;
    margin-top: 22px;
    padding: 18px 20px 20px;
  }

  .doctor-profile-footer .btn {
    width: 100%;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .doctor-profile-hero {
    animation: none;
    background-position: 50% 50%;
  }
}

/* Doctor profile cards now use the supplied 4:5 information-card artwork. */
.doctors-page .doctor-list-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.doctors-page .doctor-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0 0 20px;
  overflow: hidden;
}

.doctors-page .doctor-card .doctor-photo,
.doctors-page .doctor-card .avatar-placeholder.photo-cover {
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  aspect-ratio: 4 / 5;
  margin: 0 0 16px;
  border: 0;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  object-fit: contain;
  object-position: center;
  background: #f4f8fb;
  box-shadow: none;
}

.doctors-page .doctor-card h3,
.doctors-page .doctor-card > p,
.doctors-page .doctor-card .tag-list {
  margin-right: 18px;
  margin-left: 18px;
}

.doctors-page .doctor-card h3 {
  margin-top: 0;
}

.doctors-page .doctor-card h3 .doctor-title {
  margin-left: 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.28;
  color: #1B5E9E;
  white-space: nowrap;
}

.doctors-page .doctor-card .doctor-direction {
  margin-top: -6px;
  color: #607080;
  font-size: 13px;
}

.doctors-page .doctor-card .tag-list {
  min-height: 0;
  margin-top: 0;
  margin-bottom: 16px;
  row-gap: 6px;
  column-gap: 6px;
}

.doctors-page .doctor-card .tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 5px;
  line-height: 1;
  white-space: nowrap;
}

.doctors-page .doctor-card .doctor-summary {
  min-height: 0;
  flex: 1 1 auto;
}

.doctors-page .doctor-card .doctor-card-actions {
  margin-top: auto;
}

/* Keep stale static doctor cards hidden until dynamic API data is ready */
.doctor-list-grid[data-doctor-pending],
[data-doctor-carousel][data-doctor-pending] {
  visibility: hidden;
}

#doctors .doctor-carousel .doctor-card {
  flex-basis: 236px;
  min-width: 236px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  grid-template-rows: none;
  padding: 0 0 18px;
}

#doctors .doctor-carousel .doctor-photo,
#doctors .doctor-carousel .avatar-placeholder.photo-cover {
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  aspect-ratio: 4 / 5;
  margin: 0 0 14px;
  border: 0;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  object-fit: contain;
  object-position: center;
  background: #f4f8fb;
  box-shadow: none;
}

#doctors .doctor-carousel .doctor-card h3,
#doctors .doctor-carousel .doctor-card > p,
#doctors .doctor-carousel .tag-list,
#doctors .doctor-carousel .btn-small {
  margin-right: 18px;
  margin-left: 18px;
}

#doctors .doctor-carousel .doctor-card h3 {
  margin-top: 0;
}

#doctors .doctor-carousel .doctor-card > p:not(.doctor-summary) {
  margin-bottom: 12px;
}

#doctors .doctor-carousel .tag-list {
  min-height: 0;
  margin-bottom: 16px;
}

#doctors .doctor-carousel .btn-small {
  margin-top: auto;
}

.doctor-profile-photo {
  object-fit: contain;
  object-position: center;
  background: #f4f8fb;
}

@media (max-width: 1080px) {
  .doctors-page .doctor-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .doctors-page .doctor-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .doctors-page .doctor-card {
    padding-bottom: 16px;
  }

  .doctors-page .doctor-card h3,
  .doctors-page .doctor-card > p,
  .doctors-page .doctor-card .tag-list {
    margin-right: 14px;
    margin-left: 14px;
  }

  #doctors .doctor-carousel .doctor-card {
    flex-basis: 78vw;
    min-width: 78vw;
    max-width: 320px;
    grid-template-rows: none;
  }
}

@media (max-width: 520px) {
  .doctors-page .doctor-list-grid {
    grid-template-columns: 1fr;
  }
}


/* Keep the home hero usable when browser zoom turns the layout into a narrow viewport. */
@media (max-width: 768px) {
  .hero {
    min-height: 0;
    padding: 24px 16px;
    background: #f2f7fb;
  }

  .hero-inner {
    display: none;
    min-height: 0;
  }

  .hero-hotspots {
    position: relative;
    inset: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 0;
    pointer-events: auto;
  }

  .hero-hotspot,
  .hero-hotspot-consult,
  .hero-hotspot-doctor {
    position: static;
    display: inline-flex;
    flex: 1 1 132px;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 180px;
    min-width: 0;
    height: auto;
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid #005faa;
    border-radius: 12px;
    color: #ffffff;
    background: #005faa;
    box-shadow: 0 8px 20px rgba(0, 95, 170, 0.14);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
  }

  .hero-hotspot-doctor {
    color: #005faa;
    background: #ffffff;
  }

  .hero-hotspot .sr-only {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }
}

/* CMS-managed home carousel */
.home-carousel.hero {
  position: relative;
  display: block;
  min-height: 500px;
  padding: 0;
  overflow: hidden;
  background: #f2f7fb;
  isolation: isolate;
}

.home-carousel.hero::before,
.home-carousel.hero::after {
  display: none;
}

.home-slide-stage {
  position: relative;
  width: 100%;
  height: 500px;
}

.home-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.home-slide.is-active {
  visibility: visible;
  opacity: 1;
  z-index: 1;
}

.home-slide-picture,
.home-slide-picture img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.home-slide-picture img {
  object-fit: cover;
  object-position: center;
}

.home-slide-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(245, 250, 253, 0.96) 0%, rgba(245, 250, 253, 0.82) 31%, rgba(245, 250, 253, 0.18) 58%, rgba(245, 250, 253, 0) 76%);
  pointer-events: none;
}

.home-slide-background-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.home-slide-content {
  position: relative;
  padding-left: 72px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 500px;
  padding-right: 50%;
  pointer-events: none;
}

.home-slide-content h1 {
  max-width: 640px;
  margin: 0 0 18px;
  color: #075a9f;
  font-size: clamp(38px, 3.8vw, 58px);
  line-height: 1.18;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.home-slide-content p {
  max-width: 590px;
  margin: 0 0 30px;
  color: #315d78;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.75;
}

.home-slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  pointer-events: auto;
}

.home-slide-actions .btn,
.home-slide-actions .button {
  min-width: 142px;
  min-height: 48px;
  padding: 11px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
}

.home-slide-actions .button-outline {
  border-color: #075a9f;
  background: rgba(255, 255, 255, 0.86);
  color: #075a9f;
}

.home-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(7, 90, 159, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #075a9f;
  box-shadow: 0 8px 24px rgba(25, 77, 113, 0.15);
  cursor: pointer;
}

.home-carousel-arrow[hidden],
.home-carousel-dots[hidden] {
  display: none;
}

.home-carousel-prev { left: 20px; }
.home-carousel-next { right: 20px; }

.home-carousel-arrow span {
  transform: translateY(-2px);
  font-size: 34px;
  line-height: 1;
}

.home-carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  z-index: 5;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.home-carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(7, 90, 159, 0.48);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.home-carousel-dots button.is-active {
  width: 30px;
  background: #075a9f;
}

.home-carousel-arrow:focus-visible,
.home-carousel-dots button:focus-visible,
.home-slide-actions a:focus-visible,
.home-slide-background-link:focus-visible {
  outline: 3px solid #00a9a5;
  outline-offset: 3px;
}

.home-carousel.is-preview::before {
  content: "预览";
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  display: block;
  padding: 5px 10px;
  border-radius: 999px;
  background: #075a9f;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .home-carousel.hero,
  .home-slide-stage {
    min-height: 420px;
    height: 420px;
  }

  .home-slide-content {
    justify-content: flex-end;
    min-height: 420px;
    padding: 28px 16px 48px;
  }

  .home-slide-shade {
    background: linear-gradient(0deg, rgba(245, 250, 253, 0.98) 0%, rgba(245, 250, 253, 0.88) 42%, rgba(245, 250, 253, 0.08) 76%);
  }

  .home-slide-content h1 {
    margin-bottom: 8px;
    font-size: clamp(26px, 8vw, 34px);
  }

  .home-slide-content p {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.55;
  }

  .home-slide-actions {
    width: 100%;
    gap: 12px;
  }

  .home-slide-actions .btn,
  .home-slide-actions .button {
    flex: 1 1 132px;
    min-width: 0;
  }

  .home-carousel[data-active-narrow-mode="buttons_only"],
  .home-carousel[data-active-narrow-mode="buttons_only"] .home-slide-stage,
  .home-carousel[data-active-narrow-mode="buttons_only"] .home-slide-content {
    min-height: 94px;
    height: 94px;
  }

  .home-carousel[data-active-narrow-mode="buttons_only"] {
    padding: 0;
    background: #f2f7fb;
  }

  .home-carousel[data-active-narrow-mode="buttons_only"] .home-slide-picture,
  .home-carousel[data-active-narrow-mode="buttons_only"] .home-slide-shade,
  .home-carousel[data-active-narrow-mode="buttons_only"] .home-slide-background-link,
  .home-carousel[data-active-narrow-mode="buttons_only"] .home-slide-content h1,
  .home-carousel[data-active-narrow-mode="buttons_only"] .home-slide-content p,
  .home-carousel[data-active-narrow-mode="buttons_only"] .home-carousel-arrow,
  .home-carousel[data-active-narrow-mode="buttons_only"] .home-carousel-dots {
    display: none;
  }

  .home-carousel[data-active-narrow-mode="buttons_only"] .home-slide-content {
    justify-content: center;
    padding: 24px 16px;
  }

  .home-carousel-arrow {
    width: 38px;
    height: 38px;
  }

  .home-carousel-prev { left: 10px; }
  .home-carousel-next { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-slide,
  .home-carousel-dots button {
    transition: none;
  }
}

/* Header logo and navigation spacing refinement */
:root {
  --nav-height: 104px;
}

.site-header .nav-inner {
  width: min(100% - 32px, 1440px);
  gap: 16px;
}

.site-header .logo {
  margin-left: 40px;
  transform: none;
}

.site-header .logo-mark {
  width: 304px;
  height: 58px;
  max-width: 41vw;
}

.site-header .nav-menu .btn {
  min-height: 48px;
}

@media (max-width: 1280px) {
  :root {
    --nav-height: 100px;
  }

  .site-header .logo {
    margin-left: 30px;
  }

  .site-header .logo-mark {
    width: 284px;
    height: 54px;
    max-width: 38vw;
  }
}

@media (max-width: 1080px) {
  :root {
    --nav-height: 92px;
  }

  .site-header .nav-inner {
    gap: 12px;
  }

  .site-header .logo {
    margin-left: 18px;
  }

  .site-header .logo-mark {
    width: 252px;
    height: 48px;
    max-width: calc(100vw - 112px);
  }
}

@media (max-width: 980px) {
  :root {
    --nav-height: 88px;
  }

  .site-header .nav-inner {
    width: min(100% - 32px, 1200px);
  }

  .site-header .logo {
    margin-left: 12px;
  }

  .site-header .logo-mark {
    width: 224px;
    height: 43px;
  }
}

@media (max-width: 390px) {
  :root {
    --nav-height: 82px;
  }

  .site-header .logo {
    margin-left: 10px;
  }

  .site-header .logo-mark {
    width: 204px;
    height: 39px;
  }
}
/* Embedded-copy home lobby banner: preserve authored artwork and interactive hotspots */
@media (min-width: 769px) {
  .home-slide--embedded-banner .home-slide-picture img {
    object-position: left center;
  }

  .home-slide--embedded-banner .home-slide-shade {
    display: none;
  }

  .home-slide--embedded-banner .home-slide-content {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
  }

  .home-slide--embedded-banner .home-slide-content h1,
  .home-slide--embedded-banner .home-slide-content p {
    display: none;
  }

  .home-slide--embedded-banner .home-slide-actions {
    position: absolute;
    top: max(64.64%, calc(250px + 4.84vw));
    left: max(111.88px, 7.46%);
    width: auto;
    height: max(46.27px, 3.06vw);
    gap: max(22.10px, 1.46vw);
    pointer-events: auto;
  }

  .home-slide--embedded-banner .home-slide-actions .btn,
  .home-slide--embedded-banner .home-slide-actions .button {
    flex: 0 0 max(155.39px, 10.27vw);
    width: max(155.39px, 10.27vw);
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: 0;
    border-color: transparent !important;
    background: transparent !important;
    color: transparent !important;
    box-shadow: none !important;
    font-size: 0;
  }
}
