/* ============================================
   footer.css - 页脚样式
   4 列布局 / 底部栏 / 深色背景
   ============================================ */

/* ============================================
   页脚容器
   ============================================ */
.site-footer {
  background-color: var(--bg-footer);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-base);
}

/* ============================================
   页脚主体 - 4 列布局
   ============================================ */
.footer-main {
  padding: var(--space-16) 0 var(--space-12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-10);
}

/* ---- 通用列标题 ---- */
.footer-col__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--white);
  margin-bottom: var(--space-6);
  position: relative;
  padding-bottom: var(--space-3);
}

.footer-col__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-pill);
}

/* ============================================
   第 1 列 - 医院信息
   ============================================ */
.footer-about__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.footer-about__logo img {
  height: 44px;
  width: auto;
}

.footer-about__logo-name {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--white);
}

.footer-about__desc {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.65);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-5);
}

.footer-about__social {
  display: flex;
  gap: var(--space-3);
}

.footer-about__social-item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-lg);
  transition: all var(--transition-base);
  cursor: pointer;
}

.footer-about__social-item:hover {
  background: var(--gradient-primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   第 2 列 - 快速导航
   ============================================ */
.footer-links__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-links__item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--primary-cyan);
  flex-shrink: 0;
}

.footer-links__link {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--font-size-base);
  transition: all var(--transition-base);
}

.footer-links__link:hover {
  color: var(--white);
  padding-left: 4px;
}

/* ============================================
   第 3 列 - 科室链接
   ============================================ */
/* 与第 2 列共用 .footer-links 样式 */

/* ============================================
   第 4 列 - 联系信息
   ============================================ */
.footer-contact__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.footer-contact__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary-cyan);
  font-size: var(--font-size-base);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact__text {
  flex: 1;
}

.footer-contact__label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.footer-contact__value {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--line-height-normal);
}

.footer-contact__value--phone {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--primary-cyan-light);
}

/* 二维码 */
.footer-qrcode {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.footer-qrcode__item {
  text-align: center;
}

.footer-qrcode__img {
  width: 90px;
  height: 90px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: var(--space-2);
}

.footer-qrcode__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-qrcode__label {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   底部栏 - 版权 / ICP / 医疗许可
   ============================================ */
.footer-bottom {
  background-color: var(--bg-footer-bottom);
  padding: var(--space-4) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-bottom__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom__left a {
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition-base);
}

.footer-bottom__left a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom__separator {
  display: inline-block;
  margin: 0 var(--space-1);
  color: rgba(255, 255, 255, 0.2);
}

.footer-bottom__right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom__right a {
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition-base);
}

.footer-bottom__right a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom__badge {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.footer-bottom__badge img {
  height: 16px;
  width: auto;
}
