* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family:
    "Noto Sans TC",
    "Microsoft JhengHei",
    Arial,
    sans-serif;
  color: #fff;
}

body {
  background: #f7d7e3;
}

/* 整頁背景：使用第一張圖正面 */
.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(
      rgba(35, 10, 20, 0.35),
      rgba(35, 10, 20, 0.35)
    ),
    url("images/bg-front.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 中央公告卡片 */
.notice-card {
  position: relative;
  width: min(920px, 100%);
  padding: 38px 46px 18px;
  text-align: center;
  overflow: hidden;

  background: rgba(42, 23, 27, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 26px;
  box-shadow: 0 22px 50px rgba(50, 10, 20, 0.35);
  backdrop-filter: blur(6px);
}

/* 上方品牌區 */
.brand-area {
  position: relative;
  margin-bottom: 20px;
  padding-top: 38px;
}

.icons {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  min-width: 280px;
  padding: 10px 22px;

  background: #fff;
  color: #333;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.brand-relmek {
  font-size: 26px;
  font-weight: 800;
  color: #b9272f;
}

.brand-separator {
  width: 1px;
  height: 32px;
  background: #ccc;
}

.brand-sebamed {
  font-size: 25px;
  font-weight: 800;
  color: #47783e;
}

.brand-sebamed span {
  color: #b02838;
}

.brand-subtitle {
  margin-top: 10px;
  font-size: 21px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}

.icons span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 18px;

  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

/* 主文案 */
.content h1 {
  margin: 18px 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffd0d0;
  white-space: nowrap;
  text-shadow:
    0 3px 0 rgba(80, 20, 30, 0.85),
    0 6px 12px rgba(0, 0, 0, 0.35);
}

.content h1 span {
  color: #ffb9b9;
}

.description {
  margin: 0 auto 26px;
  max-width: 760px;
  font-size: clamp(18px, 2.6vw, 26px);
  line-height: 1.65;
  font-weight: 700;
  color: #ffe5c6;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* CTA 按鈕 */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 250px;
  padding: 17px 42px;

  color: #4e270b;
  font-size: 25px;
  font-weight: 800;
  text-decoration: none;

  background: linear-gradient(180deg, #ffd889 0%, #d28a33 100%);
  border-radius: 999px;
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.55),
    0 8px 18px rgba(0, 0, 0, 0.32);
}

.cta-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* 客服區 */
.service-area {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
}

.doctor-photo {
  flex: 0 0 170px;
  width: 170px;
  height: 170px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-info {
  text-align: center;
}

.service-info h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 900;
}

.service-info ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-info li {
  margin: 5px 0;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.service-info .icon {
  display: inline-block;
  width: 28px;
  text-align: center;
}

.time {
  margin: 8px 0 0;
  font-size: 21px;
  font-weight: 700;
}

/* 底部版權 */
footer {
  margin-top: 18px;
  font-size: 14px;
  color: #f9d6ae;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}

/* 手機版 */
@media (max-width: 680px) {
  .page {
    padding: 20px 12px;
    align-items: flex-start;
  }

  .content h1 {
    white-space: normal;
    font-size: 30px;
  }
  
  .notice-card {
    padding: 36px 20px 16px;
    border-radius: 20px;
  }

  .brand-pill {
    min-width: auto;
    width: 100%;
    gap: 12px;
    padding: 9px 16px;
  }

  .brand-relmek,
  .brand-sebamed {
    font-size: 22px;
  }

  .icons {
    top: -25px;
  }

  .icons span {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }

  .description {
    font-size: 18px;
  }

  .cta-button {
    min-width: 220px;
    font-size: 21px;
  }

  .service-area {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .doctor-photo {
    width: 145px;
    height: 145px;
    flex-basis: 145px;
  }
  .service-info{
    background-color: #ccc;
    color: #333;
    padding: 20px;
    border-radius: 10px;
  }
  .service-info h2 {
    font-size: 25px;
  }

  .service-info li,
  .time {
    font-size: 19px;
  }
}