/* ==========================================================================
   黑龙江全生医药连锁有限责任公司 - 全新品牌视觉系统样式表
   Heilongjiang Quansheng Medicine Chain Co., Ltd. - Design System 2026
   ========================================================================== */

:root {
  --primary: #0284c7;           /* 医疗科技蓝 */
  --primary-hover: #0369a1;     /* 深蓝悬停 */
  --primary-light: #e0f2fe;     /* 极浅蓝背景 */
  --primary-gradient: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #38bdf8 100%);
  --secondary: #10b981;         /* 生命健康绿 */
  --secondary-hover: #059669;
  --secondary-light: #ecfdf5;
  --accent: #f59e0b;            /* 活力暖橙 */
  --text-main: #0f172a;         /* 主标题文字 */
  --text-body: #334155;         /* 正文字色 */
  --text-muted: #64748b;        /* 辅助说明灰 */
  --text-light: #94a3b8;
  --bg-page: #f8fafc;           /* 页面主背景 */
  --bg-card: #ffffff;           /* 卡片白色 */
  --bg-subtle: #f1f5f9;         /* 区块浅灰底 */
  --border-color: #e2e8f0;      /* 边框分割线 */
  --border-focus: #38bdf8;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 18px -3px rgba(15, 23, 42, 0.07), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 14px 28px -5px rgba(15, 23, 42, 0.1), 0 8px 12px -4px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 20px 35px -8px rgba(2, 132, 199, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1240px;
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

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

/* 容器通用规范 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 顶部信息条 Topbar */
.topbar {
  background: #0f172a;
  color: #cbd5e1;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  color: var(--secondary);
}

.topbar-link {
  color: #94a3b8;
}

.topbar-link:hover {
  color: #ffffff;
}

/* 主头部 Header */
.main-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  gap: 16px;
}

/* 品牌 Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo img {
  height: 46px;
  max-height: 46px;
  width: auto;
  display: block;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(2, 132, 199, 0.25);
  color: #ffffff;
  flex-shrink: 0;
}

.logo-symbol svg {
  width: 24px;
  height: 24px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0f172a;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-title span {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

.brand-subtitle {
  font-size: 11px;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* 导航系统 Navigation */
.main-nav {
  display: flex;
  align-items: center;
  flex-shrink: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap !important;
  word-break: keep-all;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* 下拉菜单 */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-body);
  border-radius: var(--radius-sm);
}

.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 18px;
}

/* 头部快捷联络 */
.header-action {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.hotline-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: var(--radius-full);
}

.hotline-icon {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hotline-icon svg {
  width: 14px;
  height: 14px;
}

.hotline-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hotline-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

.hotline-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #ffffff;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* 现代化 Hero Banner 轮播区 */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0c4a6e 100%);
  color: #ffffff;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, rgba(16, 185, 129, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(2, 132, 199, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #38bdf8;
  width: fit-content;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  background: linear-gradient(120deg, #38bdf8 0%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item h3 {
  font-size: 32px;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item p {
  font-size: 13px;
  color: #94a3b8;
}

/* Hero 右侧拟态卡片 */
.hero-visual {
  position: relative;
}

.glass-showcase {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
}

.company-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-dot {
  width: 10px;
  height: 10px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--secondary);
}

.badge-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.cert-tag {
  font-size: 12px;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.license-info-card {
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-row {
  display: flex;
  font-size: 13px;
  line-height: 1.5;
}

.info-row .label {
  width: 90px;
  color: #94a3b8;
  flex-shrink: 0;
}

.info-row .value {
  color: #f1f5f9;
  font-weight: 500;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.2), rgba(16, 185, 129, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
}

.highlight-box svg {
  width: 24px;
  height: 24px;
  color: #38bdf8;
  flex-shrink: 0;
}

.highlight-box span {
  font-size: 13px;
  color: #e2e8f0;
}

/* 核心保障专区 4-Features */
.section-features {
  padding: 60px 0;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

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

.feature-card {
  background: #ffffff;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(2, 132, 199, 0.3);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card:nth-child(1) .feature-icon-wrapper {
  background: #e0f2fe;
  color: #0284c7;
}

.feature-card:nth-child(2) .feature-icon-wrapper {
  background: #ecfdf5;
  color: #10b981;
}

.feature-card:nth-child(3) .feature-icon-wrapper {
  background: #fef3c7;
  color: #d97706;
}

.feature-card:nth-child(4) .feature-icon-wrapper {
  background: #f3e8ff;
  color: #9333ea;
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.feature-text h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.feature-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 章节标题规范 */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

/* 关于全生专区 */
.section-about {
  padding: 80px 0;
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image-card:hover img {
  transform: scale(1.03);
}

.about-floating-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-around;
  border: 1px solid rgba(2, 132, 199, 0.15);
}

.float-stat {
  text-align: center;
}

.float-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

.float-stat span {
  font-size: 12px;
  color: var(--text-muted);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-lead {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-hover);
  line-height: 1.6;
}

.about-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
}

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
}

.point-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.point-item svg {
  width: 18px;
  height: 18px;
  color: var(--secondary);
}

/* 核心经营业务 / 药品分类专区 */
.section-services {
  padding: 80px 0;
  background: var(--bg-page);
}

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

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(2, 132, 199, 0.25);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
}

.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.service-tag {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--bg-subtle);
  color: var(--text-body);
  border-radius: var(--radius-full);
}

/* 资质公示与公信力专区 */
.section-license {
  padding: 80px 0;
  background: #ffffff;
}

.license-box {
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  border: 1.5px solid rgba(2, 132, 199, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.license-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.license-preview {
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  text-align: center;
}

.license-preview img {
  border-radius: var(--radius-sm);
  width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.license-preview p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  font-weight: 600;
}

.license-details h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.license-code-badge {
  display: inline-block;
  background: #ffffff;
  border: 1px solid #bae6fd;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: monospace;
  font-weight: 700;
  color: #0284c7;
  margin-bottom: 20px;
}

.license-table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
}

.license-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.license-table td {
  padding: 10px 0;
  vertical-align: top;
}

.license-table td.prop {
  color: var(--text-muted);
  width: 110px;
  font-weight: 500;
}

.license-table td.val {
  color: var(--text-main);
  font-weight: 600;
}

/* 新闻与健康讲堂专区 */
.section-news {
  padding: 80px 0;
  background: var(--bg-page);
}

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

.news-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.news-thumb {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.05);
}

.news-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.news-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.news-date {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-title:hover {
  color: var(--primary);
}

.news-summary {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 连锁网点 & 便民服务专区 */
.section-contact-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
}

.contact-cta-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.cta-text h3 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.cta-text p {
  font-size: 16px;
  color: #e0f2fe;
}

/* 页脚 Footer */
.main-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 70px 0 30px;
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .brand-title {
  color: #ffffff;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #94a3b8;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94a3b8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  line-height: 1.5;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   二级子页面通用样式体系
   ========================================================================== */

/* 子页面 Banner */
.page-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 70%, #0369a1 100%);
  color: #ffffff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.page-banner-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #94a3b8;
}

.breadcrumb a {
  color: #e2e8f0;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span.divider {
  color: #64748b;
}

/* 子页面主体布局 (双栏侧边栏) */
.page-container {
  padding: 60px 0 80px;
}

.page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: flex-start;
}

/* 侧边栏 */
.sidebar {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  position: sticky;
  top: 104px;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--primary-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.sidebar-item a:hover,
.sidebar-item a.active {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 20px;
}

.sidebar-contact-card {
  margin-top: 24px;
  padding: 20px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  text-align: center;
}

.sidebar-contact-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.sidebar-contact-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.sidebar-contact-card .phone-num {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
}

/* 右侧内容容器 */
.content-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 40px;
}

.content-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.content-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
}

/* 文章排版风格 */
.article-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-body);
}

.article-body p {
  margin-bottom: 20px;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin: 30px 0 14px;
  border-left: 4px solid var(--primary);
  padding-left: 12px;
}

.article-body ul {
  margin: 16px 0 24px 20px;
  list-style-type: disc;
}

.article-body li {
  margin-bottom: 8px;
}

.article-meta {
  display: flex;
  gap: 20px;
  color: var(--text-light);
  font-size: 13px;
  margin-top: 8px;
}

/* 表单样式 (健康咨询/在线留言) */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #ffffff;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* 列表展示组件 (新闻列表/健康列表) */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-page);
  transition: var(--transition);
}

.post-item:hover {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.post-item-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-item-title:hover {
  color: var(--primary);
}

.post-item-date {
  font-size: 13px;
  color: var(--text-light);
  flex-shrink: 0;
}

/* 招聘岗位卡片 */
.job-card {
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  transition: var(--transition);
}

.job-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.job-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.job-salary {
  font-size: 18px;
  font-weight: 800;
  color: var(--secondary);
}

.job-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.job-tag {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.job-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* 分页组件 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.page-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  background: #ffffff;
  transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* 响应式断点适配 */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .services-grid, .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .license-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
}

/* 连锁门店展示专区 */
.stores-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.store-card {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-card:hover {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.store-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.store-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

.store-tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}

.store-info-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
}

.store-info-row svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.store-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.store-perk {
  font-size: 11px;
  padding: 3px 8px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .stores-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .header-action .hotline-badge {
    display: none;
  }
  .nav-link {
    padding: 6px 8px;
    font-size: 14px;
  }
  .brand-title {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  .main-header .container {
    height: 70px;
  }
  .brand-title {
    font-size: 17px;
  }
  .header-action {
    display: none;
  }
  .hero-title {
    font-size: 30px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .services-grid, .news-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .stat-item h3 {
    font-size: 24px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .contact-cta-card {
    flex-direction: column;
    text-align: center;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .content-card {
    padding: 20px;
  }
  .main-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
  }
  .main-nav::-webkit-scrollbar {
    display: none;
  }
  .nav-list {
    padding-bottom: 4px;
  }
  .floating-widget {
    right: 12px;
    bottom: 20px;
  }
  .float-btn {
    width: 42px;
    height: 42px;
  }
}

/* 右侧悬浮快捷便民服务窗与回到顶部 */
.floating-widget {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  cursor: pointer;
}

.float-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.35);
}

.float-btn svg {
  width: 22px;
  height: 22px;
}

.float-btn .float-tooltip {
  position: absolute;
  right: 58px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.float-back-top {
  background: var(--primary-gradient);
  color: #ffffff;
  border: none;
}