/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 138px;
}

body {
  font-family: 'Noto Sans TC', sans-serif;
  color: #000000;
  background: #ffffff;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* ================================
   Decoration z-index: ensure content above deco
   ================================ */
.mirai > *:not([class*="deco"]),
.doctors > *:not([class*="deco"]),
.cases > *:not([class*="deco"]),
.features > *:not([class*="deco"]),
.doctors-section > *:not([class*="deco"]),
.cases-section > *:not([class*="deco"]),
.qa-section > *:not([class*="deco"]),
.pricing-section > *:not([class*="deco"]),
.traffic-section > *:not([class*="deco"]) {
  position: relative;
  z-index: 1;
}

/* ================================
   Header
   ================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #65726a;
  z-index: 1000;
  padding: 24px 48px;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header__logo img {
  width: 228px;
  height: 90px;
  object-fit: contain;
}

.header__nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.header__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  padding: 16px 0 16px 32px;
}

/* Separators between nav items */
.header__list li {
  position: relative;
  flex: 1;
  text-align: center;
}

.header__list li + li::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #ffffff;
}

.header__link {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 24px;
  font-weight: 400;
  color: #ffffff;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.header__link:hover {
  opacity: 0.75;
}

/* Active nav state */
.header__link--active {
  font-weight: 700;
  opacity: 1;
}

/* Hamburger button — hidden on desktop */
.header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1007;
}

.header__burger span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: #ffffff;
  margin: 6px 0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__burger--active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__burger--active span:nth-child(2) {
  opacity: 0;
}

.header__burger--active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ================================
   Hero Section (台日合作)
   ================================ */
.hero {
  position: relative;
  width: 100%;
  height: 900px;
  background-image: url('../assets/hero-banner.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 312px;
  height: 100%;
  background-color: #d6e2d9;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  row-gap: 72px;
  --side-padding: max(80px, calc((100% - 1440px) / 2));
  padding: 0 var(--side-padding) 80px;
  align-content: end;
}

.hero__title-block {
  grid-column: 1 / 11;
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero__subtitle {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: clamp(16px, 3.89vw, 56px);
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
  white-space: nowrap;
}

.hero__title {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: clamp(28px, 9.72vw, 140px);
  font-weight: 400;
  color: #ffffff;
  white-space: nowrap;
}

.hero__info-card {
  grid-column: 8 / 13;
  background-color: #ffffff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero__info-heading {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 32px;
  font-weight: 400;
  color: #65726a;
}

.hero__info-desc {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 18px;
  font-weight: 400;
  color: #000000;
  line-height: 1.6;
}

/* ================================
   MIRAI技法 Wrapper
   ================================ */
.mirai-page {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* ================================
   MIRAI技法-1
   ================================ */
.mirai {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  row-gap: 48px;
  --side-padding: max(80px, calc((100% - 1440px) / 2));
  padding: 72px var(--side-padding);
  width: 100%;
  background-color: #ffffff;
}

.mirai__deco {
  position: absolute;
  top: 24px;
  left: var(--side-padding);
  width: 300px;
  height: 334px;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
}

.mirai__deco-dots {
  position: absolute;
  width: 100px;
  height: 362px;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
}

.mirai__deco-dots--bottom-left {
  left: 80px;
  bottom: 72px;
}

.doctors__deco-dots {
  position: absolute;
  width: 100px;
  height: 362px;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
}

.doctors__deco-dots--top-right {
  right: 48px;
  top: 24px;
}

.doctors__deco-dots--bottom-left {
  left: 24px;
  bottom: 0;
}

.cases__deco-dots {
  position: absolute;
  width: 100px;
  height: 362px;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
}

.cases__deco-dots--left {
  left: 72px;
  top: 240px;
}

.cases__deco-dots-h {
  position: absolute;
  width: 366px;
  height: 100px;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
}

.cases__deco-dots-h--top-right {
  right: 0;
  top: 0;
}

.mirai__main {
  grid-column: 1 / 10;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-right: 56px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.mirai__text {
  padding-left: 96px;
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 18px;
  font-weight: 400;
  color: #000000;
  line-height: 1.8;
}

.mirai__text p + p {
  margin-top: 1em;
}

.mirai__content-row {
  display: grid;
  grid-template-columns: 3fr 6fr;
  column-gap: 24px;
  align-items: end;
  flex: 1;
}

.mirai__doctor img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: scale(1.6);
  transform-origin: left bottom;
}

.mirai__info-block {
  display: flex;
  flex-direction: column;
  gap: 72px;
  height: 100%;
  background-color: #ffffff;
  align-items: center;
  min-width: 0;
}

.mirai__endorsement {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mirai__endorsement-img {
  width: 100%;
  max-width: 790px;
  height: auto;
  object-fit: contain;
}

.mirai__endorsement-texts {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 16px 0;
}

.mirai__endorsement-item {
  flex: 1;
  padding: 0 16px;
  text-align: center;
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 18px;
  color: #000000;
}

.mirai__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 48px;
  background-color: #66726a;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.mirai__cta:hover {
  opacity: 0.85;
}

.mirai__cta span {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 24px;
  font-weight: 400;
  color: #ffffbb;
  letter-spacing: 2.4px;
}

.mirai__cta img {
  width: 84px;
  height: 35px;
  object-fit: contain;
}

/* Clinic gallery */
.mirai__gallery {
  grid-column: 10 / 13;
  display: flex;
  flex-direction: column;
}

.mirai__gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* ================================
   醫師團隊 Section
   ================================ */
.doctors {
  --side-padding: max(80px, calc((100% - 1440px) / 2));
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 72px var(--side-padding) 0;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.doctors__header {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.doctors__title {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.2;
  color: #67726a;
  flex-shrink: 0;
}

.doctors__subtitle {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 30px;
  font-weight: 400;
  color: #67726a;
}

.doctors__content {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
}

.doctors__clinic {
  grid-column: 1 / 7;
  padding: 80px 48px 0 0;
}

.doctors__clinic-card {
  background-color: #d6e2d9;
  border-radius: 40px 40px 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 120px;
  align-items: center;
}

.doctors__clinic-photo {
  margin: 0 56px;
  transform: translateY(-56px);
  margin-bottom: -56px;
}

.doctors__clinic-photo img {
  width: 100%;
  height: auto;
  border-radius: 40px;
  border: 4px solid #ffffff;
  display: block;
}

.doctors__points-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 0 56px;
}

.doctors__points-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.doctors__point-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doctors__point-circle span {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  color: #667269;
  text-align: center;
}

.doctors__point-line {
  flex: 1;
  height: 4px;
  background-color: #ffffff;
}

.doctors__points-info {
  display: flex;
  justify-content: space-between;
  gap: 0;
  width: 100%;
}

.doctors__point-info-card {
  width: 120px;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.25);
  border: 1px solid #b0b5b0;
  border-radius: 16px 0 16px 0;
  padding: 8px;
}

.doctors__point-info-card p {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 16px;
  font-weight: 400;
  color: #667269;
  text-align: center;
}

.doctors__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 48px;
  background-color: #66726a;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.doctors__cta:hover {
  opacity: 0.85;
}

.doctors__cta span {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 24px;
  font-weight: 400;
  color: #ffffbb;
  letter-spacing: 2.4px;
}

.doctors__cta img {
  width: 84px;
  height: 35px;
  object-fit: contain;
}

.doctors__doctor {
  grid-column: 7 / 13;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.doctors__doctor-photo {
  margin: 0 56px;
}

.doctors__doctor-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 607;
  object-fit: cover;
  display: block;
}

.doctors__doctor-desc {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 18px;
  font-weight: 400;
  color: #000000;
  line-height: 1.8;
}

/* ================================
   案例分享 Section
   ================================ */
.cases {
  --side-padding: max(80px, calc((100% - 1440px) / 2));
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  padding: 0 var(--side-padding);
  width: 100%;
  overflow: hidden;
  position: relative;
}

.cases__showcase {
  grid-column: 1 / 7;
  padding: 0 48px 40px 0;
}

.cases__showcase-card {
  background-color: #d6e2d9;
  border-radius: 0 0 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 56px 32px;
}

.cases__showcase-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cases__title {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.2;
  color: #67726a;
  flex-shrink: 0;
}

.cases__subtitle {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 30px;
  font-weight: 400;
  color: #67726a;
}

.cases__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cases__item {
  display: flex;
  align-items: stretch;
  width: 130%;
  background-color: #67726a;
  border-radius: 0 72px 0 0;
  overflow: hidden;
}

.cases__item-photo {
  flex: 1;
  min-width: 0;
}

.cases__item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cases__item-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 24px;
}

.cases__item-title {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 36px;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
}

.cases__item-desc {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 24px;
  font-weight: 400;
  color: #d6e2d9;
}

/* 一站式規劃 */
.cases__plan {
  grid-column: 7 / 13;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 0 72px;
}

.cases__plan-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cases__plan-title {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 32px;
  font-weight: 400;
  color: #000000;
  text-align: center;
}

.cases__plan-desc {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 18px;
  font-weight: 400;
  color: #667269;
  text-align: center;
}

.cases__plan-label {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 32px;
  font-weight: 400;
  color: #66726a;
  letter-spacing: 1.6px;
  background-color: #feffbc;
  display: inline;
  box-decoration-break: clone;
}

.cases__buttons {
  display: grid;
  grid-template-columns: repeat(2, 160px);
  gap: 16px;
  justify-content: center;
}

.cases__button {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 6px solid #8d9c92;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cases__button:hover {
  transform: scale(1.05);
}

.cases__button-icon {
  position: absolute;
  top: -24px;
  left: 0;
  width: 60px;
  height: 54px;
  object-fit: contain;
}

.cases__button span {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 32px;
  font-weight: 400;
  color: #8e9991;
  text-align: center;
  line-height: 1.2;
}

.cases__plan-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cases__click-icon {
  font-size: 48px;
  color: #000000;
}

.cases__plan-footer p {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 32px;
  font-weight: 400;
  color: #000000;
  letter-spacing: 1.6px;
}

.cases__plan-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* ================================
   MIRAI技法-4 Features
   ================================ */
.features {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: #d6e2d9;
}

.features__intro {
  background-color: #ffffff;
  --side-padding: max(80px, calc((100% - 1440px) / 2));
  padding: 16px var(--side-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.features__hero {
  background-color: #d6e2d9;
  --side-padding: max(80px, calc((100% - 1440px) / 2));
  padding: 72px var(--side-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.features__display-title {
  position: relative;
  width: 100%;
}

.features__big-text {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: clamp(48px, 13.89vw, 200px);
  font-weight: 700;
  line-height: 1.2;
  color: #d6e2d9;
  text-align: center;
  width: 100%;
  max-width: 1440px;
}

.features__banner-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  padding: 4px clamp(16px, 8.33vw, 120px);
}

.features__banner-text p {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: clamp(16px, 2.22vw, 32px);
  font-weight: 400;
  color: #67726a;
  white-space: nowrap;
}

.features__desc {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 20px;
  font-weight: 400;
  color: #000000;
  text-align: center;
}

.features__patent {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 16px;
  font-weight: 700;
  color: #f1959f;
  margin-bottom: 24px;
}

.features__cards {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  min-height: 120px;
}

.features__card {
  flex: 1 1 calc((100% - 48px) / 5);
  max-width: calc((100% - 48px) / 5);
  min-width: calc((100% - 48px) / 5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background-color: #ffffff;
  border-radius: 500px;
  padding: 48px;
}

.features__card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.features__card h3 {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 32px;
  font-weight: 500;
  color: #667269;
  text-align: center;
  margin: 0 -20px;
}

.features__card hr {
  width: 100%;
  border: none;
  height: 2px;
  background-color: #667269;
}

.features__card p {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 24px;
  font-weight: 400;
  color: #667169;
  text-align: center;
  flex-grow: 1;
}

.features__table-section {
  background-color: #ffffff;
  padding: 48px 200px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.features__table-title {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 40px;
  font-weight: 400;
  color: #000000;
  width: 100%;
}

.features__table-section table {
  width: 1040px;
  max-width: 100%;
  border-collapse: collapse;
  border: 1px solid #000000;
}

.features__table-section table th,
.features__table-section table td {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 24px;
  font-weight: 500;
  padding: 8px 16px;
  border-bottom: 1px solid #000000;
  border-right: 1px solid #000000;
  text-align: left;
}

.features__table-section table th:last-child,
.features__table-section table td:last-child {
  border-right: none;
}

.features__table-section table tbody tr:last-child td {
  border-bottom: none;
}

.features__table-section table th {
  color: #478331;
}

.features__table-section table td {
  color: #000000;
}

.features__disclaimer {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 24px;
  font-weight: 400;
  color: #000000;
}

/* Richtext CMS prose styles */
[data-cms-type="richtext"] p {
  margin-bottom: 16px;
}

[data-cms-type="richtext"] img {
  max-width: 100%;
  height: auto;
  margin: 24px 0;
}

[data-cms-type="richtext"] table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  border: 1px solid #000000;
}

[data-cms-type="richtext"] th,
[data-cms-type="richtext"] td {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 24px;
  font-weight: 500;
  padding: 8px 16px;
  border-bottom: 1px solid #000000;
  border-right: 1px solid #000000;
  text-align: left;
}

[data-cms-type="richtext"] th:last-child,
[data-cms-type="richtext"] td:last-child {
  border-right: none;
}

[data-cms-type="richtext"] tbody tr:last-child td {
  border-bottom: none;
}

[data-cms-type="richtext"] th {
  color: #478331;
}

.features__deco-dots-h {
  position: absolute;
  width: 293px;
  height: 80px;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
}

.features__deco-dots-h--top-right {
  right: 0;
  top: 24px;
}

.features__deco-dots-h--bottom-left {
  left: 0;
  top: 480px;
}

/* ================================
   醫師團隊 Section
   ================================ */
.doctors-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  --side-padding: max(80px, calc((100% - 1440px) / 2));
  padding: 72px var(--side-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.doctors-section__title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.doctors-section__title {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 56px;
  font-weight: 400;
  color: #67726a;
  line-height: 1.2;
  flex-shrink: 0;
}

.doctors-section__subtitle {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 30px;
  font-weight: 400;
  color: #67726a;
  width: 100%;
  flex-shrink: 0;
}

.doctors-section__desc {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 24px;
  font-weight: 400;
  color: #66726a;
  text-align: center;
  line-height: 1.6;
}

/* Doctor grid: 8-column span, 2-column layout */
.doctors-section__list {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  width: 100%;
}

.doctors-section__list-inner {
  grid-column: 3 / 11;
}

.doctors-section__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 960px;
}

.doctors-section__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.doctors-section__card-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 481;
  object-fit: cover;
  display: block;
}

.doctors-section__card-name {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 32px;
  font-weight: 400;
  color: #66726a;
  text-align: center;
}

.doctors-section__card-desc {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 18px;
  font-weight: 400;
  color: #66726a;
  text-align: center;
  line-height: 1.6;
}

/* Timeline */
.doctors-section__timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.doctors-section__timeline-title {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 40px;
  font-weight: 400;
  color: #66726a;
  letter-spacing: 1.6px;
  background-color: #feffbc;
  display: inline;
  box-decoration-break: clone;
}

.doctors-section__timeline-steps {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  background-color: #ffffff;
}

.doctors-section__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-shrink: 0;
  width: 169px;
}

.doctors-section__step-circle {
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background-color: #819386;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}

.doctors-section__step-label {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
}

.doctors-section__step-number {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 48px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1;
}

.doctors-section__step-text {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 24px;
  font-weight: 400;
  color: #66726a;
  text-align: center;
  white-space: nowrap;
}

.doctors-section__step-arrow {
  width: 32px;
  height: auto;
  flex-shrink: 0;
  align-self: center;
}

/* CTA Button */
.doctors-section__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 48px;
  background-color: #66726a;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.doctors-section__cta:hover {
  opacity: 0.85;
}

.doctors-section__cta span {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 24px;
  font-weight: 400;
  color: #ffffbb;
  letter-spacing: 2.4px;
}

.doctors-section__cta img {
  width: 84px;
  height: 35px;
  object-fit: contain;
}

.doctors-section__deco-dots-h {
  position: absolute;
  width: 366px;
  height: 100px;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
}

.doctors-section__deco-dots-h--left {
  left: 160px;
  top: 320px;
}

.doctors-section__deco-dots {
  position: absolute;
  width: 100px;
  height: 362px;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
}

.doctors-section__deco-dots--bottom-right {
  right: 80px;
  top: 800px;
}

/* ================================
   案例分享 Section
   ================================ */
.cases-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  --side-padding: max(80px, calc((100% - 1440px) / 2));
  padding: 72px var(--side-padding);
  background-color: #d6e2d9;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cases-section__title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.cases-section__title {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 56px;
  font-weight: 400;
  color: #67726a;
  line-height: 1.2;
  flex-shrink: 0;
}

.cases-section__subtitle {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 30px;
  font-weight: 400;
  color: #67726a;
  flex-shrink: 0;
}

/* Filters */
.cases-section__filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.cases-section__gender-buttons {
  display: flex;
  gap: 16px;
}

/* 男 / 女按鈕沿用部位 tab 的 pill 樣式（依附件 10209） */
.cases-section__gender-btn {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 30px;
  font-weight: 400;
  color: #768179;
  background-color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 4px 24px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.cases-section__gender-btn.active {
  background-color: #768179;
  color: #ffffff;
}

.cases-section__gender-btn:hover:not(.active) {
  background-color: #e8ede9;
}

.cases-section__tabs {
  display: flex;
  gap: 16px;
}

.cases-section__tab {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 30px;
  font-weight: 400;
  color: #768179;
  background-color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 4px 24px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.cases-section__tab.active {
  background-color: #768179;
  color: #ffffff;
}

.cases-section__tab:hover:not(.active) {
  background-color: #e8ede9;
}

/* Case Cards List */
.cases-section__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

/* Case Card */
.cases-section__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.cases-section__card-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.cases-section__card-name {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
  padding-right: 48px;
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 32px;
  font-weight: 400;
  color: #768179;
}

.cases-section__card-name [data-cms-static] {
  flex-shrink: 0;
}

.cases-section__card-name [data-cms-field="title"] {
  flex-shrink: 0;
}

.cases-section__card-tags {
  display: flex;
  gap: 8px;
}

.cases-section__tag {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 18px;
  font-weight: 400;
  color: #667269;
  border: 1px solid #667269;
  border-radius: 999px;
  padding: 4px 24px;
  white-space: nowrap;
}

/* Before/After Images */
.cases-section__card-images {
  display: flex;
  gap: 8px;
  width: 100%;
  position: relative;
}

.cases-section__card-before,
.cases-section__card-after {
  flex: 1;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #959595;
  position: relative;
}

.cases-section__img-label {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #ffffff;
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 18px;
  font-weight: 400;
  color: #768179;
  padding: 4px 16px;
  z-index: 1;
}

.cases-section__card-before img,
.cases-section__card-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cases-section__card-arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 24px;
}

.cases-section__card-arrow .material-symbols-outlined {
  font-size: 24px;
  color: #333333;
}

/* More Button */
.cases-section__more-wrapper {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.cases-section__more-btn {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 24px;
  font-weight: 400;
  color: #768179;
  letter-spacing: 2.4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
  transition: opacity 0.2s;
}

.cases-section__more-btn:hover {
  opacity: 0.7;
}

.cases-section__deco-dots {
  position: absolute;
  width: 100px;
  height: 365px;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
}

.cases-section__deco-dots--top-left {
  left: 80px;
  top: 240px;
}

.cases-section__deco-dots--bottom-right {
  right: 60px;
  top: 600px;
}

/* ================================
   Placeholder Sections
   ================================ */
.section {
  position: relative;
  width: 100%;
  min-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section__content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 64px 48px;
}

.section__title {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 48px;
  font-weight: 700;
  color: #65726a;
  text-align: center;
}

/* Alternate background */
.section--mirai { background-color: #ffffff; }
.section--doctors { background-color: #f5f7f6; }
.section--cases { background-color: #ffffff; }
.section--qa { background-color: #f5f7f6; }
.section--pricing { background-color: #ffffff; }
.section--traffic { background-color: #f5f7f6; }

/* ================================
   Floating Contact Buttons
   ================================ */
.contact-btns {
  position: fixed;
  right: 40px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background-color: #66726a;
  padding: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.contact-btn img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

/* ================================
   Responsive: ≤ 1280px
   ================================ */

/* ========================
   Q&A Section
   ======================== */
.qa-section {
  position: relative;
  overflow: hidden;
  --side-padding: max(80px, calc((100% - 1440px) / 2));
  background-color: #d6e2d9;
  padding: 0 var(--side-padding) 72px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.qa-section__line {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  margin-bottom: 32px;
}

.qa-section__title {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 40px;
  font-weight: 400;
  color: #67726a;
  width: 100%;
  line-height: 1.2;
  margin-bottom: 40px;
  flex-shrink: 0;
}

.qa-section__list {
  width: 100%;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-left: 8px solid #ffffff;
  padding-left: 32px;
}

.qa-section__item {
  overflow: hidden;
}

.qa-section__item.qa-hidden {
  display: none;
}

.qa-section__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.qa-section__question-text {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 32px;
  font-weight: 400;
  color: #000000;
  flex: 1;
}

.qa-section__toggle {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 16px;
  font-weight: 400;
  color: #667269;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.qa-section__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.4s ease;
  margin-top: 0;
}

.qa-section__item.active .qa-section__answer {
  max-height: 500px;
  margin-top: 12px;
}

.qa-section__answer-text {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 24px;
  font-weight: 400;
  color: #667269;
}

.qa-section__more {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 24px;
  font-weight: 400;
  color: #768179;
  letter-spacing: 2.4px;
  margin-top: 32px;
  cursor: pointer;
  background: none;
  border: none;
  display: none;
  align-self: flex-end;
}

.qa-section__deco-dots-h {
  position: absolute;
  width: 165px;
  height: 80px;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
}

.qa-section__deco-dots-h--right {
  right: 0;
  top: 700px;
}

/* ========================
   Pricing Section (費用了解)
   ======================== */
.pricing-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 0 0;
  gap: 40px;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Title block with watermark */
.pricing-section__title-block {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-section__watermark {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: clamp(48px, 13.89vw, 200px);
  font-weight: 700;
  color: #d6e2d9;
  line-height: 1.2;
  text-align: center;
  width: 100%;
  max-width: 1440px;
}

.pricing-section__banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  background-color: #ffffff;
  padding: 4px clamp(16px, 8.33vw, 120px);
  white-space: nowrap;
}

.pricing-section__title {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: clamp(28px, 3.89vw, 56px);
  font-weight: 400;
  color: #67726a;
  line-height: 1.2;
}

.pricing-section__subtitle {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: clamp(16px, 2.08vw, 30px);
  font-weight: 400;
  color: #67726a;
}

/* Content area */
.pricing-section__content {
  --side-padding: max(80px, calc((100% - 1440px) / 2));
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--side-padding);
  gap: 24px;
  width: 100%;
}

/* Pricing richtext — styled by parent container, not inner classes */
.pricing-section__content h3 {
  background-color: #feffbc;
  padding: 4px 12px;
  display: inline-block;
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 40px;
  font-weight: 400;
  color: #66726a;
  letter-spacing: 1.6px;
  margin-bottom: 16px;
}

.pricing-section__content p {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 18px;
  font-weight: 400;
  color: #66726a;
  text-align: center;
}

.pricing-section__content p strong {
  font-size: 40px;
  font-weight: 400;
}

.pricing-section__content h4 {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 32px;
  font-weight: 400;
  color: #67726a;
  text-align: center;
}

.pricing-section__content img {
  width: 100%;
  max-width: 1120px;
  height: auto;
  display: block;
}

.pricing-section__plans-img {
  width: 100%;
  max-width: 1120px;
  height: auto;
  display: block;
  margin: 24px auto;
}

.pricing-section__deco-dots-h {
  position: absolute;
  width: 366px;
  height: 100px;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
}

.pricing-section__deco-dots-h--top-left {
  left: 16px;
  top: 320px;
}

.pricing-section__deco-dots-h--bottom-right {
  right: 24px;
  bottom: 120px;
}

/* ========================
   Traffic / Clinic Info Section (交通資訊)
   ======================== */
.traffic-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 0 0;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.traffic-section__header {
  --side-padding: max(80px, calc((100% - 1440px) / 2));
  width: 100%;
  padding: 0 var(--side-padding);
}

.traffic-section__title {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 40px;
  font-weight: 400;
  color: #67726a;
  line-height: 1.2;
  flex-shrink: 0;
}

/* Info Row: Map + Details */
.traffic-section__info-row {
  --side-padding: max(80px, calc((100% - 960px) / 2));
  display: flex;
  gap: 24px;
  width: 100%;
  padding: 0 var(--side-padding);
}

.traffic-section__map {
  flex-shrink: 0;
  width: 325px;
  height: 325px;
  overflow: hidden;
}

.traffic-section__map iframe {
  width: 100%;
  height: 100%;
}

.traffic-section__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.traffic-section__clinic-logo {
  width: 70%;
  max-width: 540px;
  height: auto;
}

.traffic-section__contact-info {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 30px;
  font-weight: 400;
  color: #000000;
  line-height: 1.6;
}

/* CTA Block */
.traffic-section__cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  background-color: #d6e2d9;
  padding: 0 0 72px;
  margin-top: 72px;
}

.traffic-section__cta-card {
  --side-padding: max(80px, calc((100% - 1440px) / 2));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px clamp(40px, 9.72vw, 140px);
  background-color: #ffffff;
  border-radius: 72px;
  border: 4px solid #d6e2d9;
  transform: translateY(-72px);
  margin-bottom: -72px;
}

.traffic-section__qrcode {
  width: 268px;
  height: auto;
  flex-shrink: 0;
}

.traffic-section__cta-text {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 40px;
  font-weight: 400;
  color: #000000;
  text-align: center;
}

.traffic-section__cta-btn {
  display: inline-block;
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 24px;
  font-weight: 400;
  color: #ffffbb;
  letter-spacing: 2.4px;
  background-color: #66726a;
  padding: 16px 48px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.traffic-section__cta-btn:hover {
  opacity: 0.85;
}

.traffic-section__disclaimer {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 24px;
  font-weight: 400;
  color: #67726a;
  text-align: center;
  padding: 0 80px;
}

.traffic-section__deco-dots {
  position: absolute;
  width: 100px;
  height: 362px;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
}

.traffic-section__deco-dots--top-right {
  right: 0;
  top: 240px;
}

/* ========================
   LINE Popup
   ======================== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup {
  position: relative;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 48px 40px 32px;
  max-width: 480px;
  width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.popup__title {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 24px;
}

.popup__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.popup__qr-link {
  display: block;
}

.popup__image {
  max-width: 280px;
  width: 100%;
  height: auto;
}

.popup__desc {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 16px;
  color: #666;
  margin: 0;
}

.popup__footer {
  margin-top: 24px;
  width: 100%;
}

.popup__close-btn {
  display: block;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  padding: 10px 24px;
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  font-size: 16px;
  color: #666;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.popup__close-btn:hover {
  background: #f5f5f5;
}

.popup-overlay.active .popup {
  transform: scale(1);
}

.popup__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 16px;
}

.popup__close .material-symbols-outlined {
  font-size: 40px;
  color: #000000;
}

.popup__image {
  max-width: 690px;
  width: 100%;
  height: auto;
}

/* Make buttons clickable */
[data-open-popup] {
  cursor: pointer;
}

@media (min-width: 1281px) {
  .qa-section__title,
  .traffic-section__title {
    font-size: 56px;
  }
}

@media (max-width: 1280px) {
  .header {
    padding: 16px 32px;
  }

  .header__logo img {
    width: 120px;
    height: auto;
  }

  .header__link {
    font-size: 18px;
  }

  .header__list {
    gap: 12px;
    padding-left: 16px;
  }

  .hero__content {
    padding-bottom: 60px;
  }

  .hero__info-heading {
    font-size: 28px;
  }

  .hero__deco {
    width: 200px;
  }

  .mirai {
    grid-template-columns: repeat(8, 1fr);
    column-gap: 16px;
    padding-top: 40px;
    padding-bottom: 40px;
    row-gap: 32px;
  }

  .mirai__main {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .mirai__deco {
    display: none;
  }

  .mirai__deco-dots,
  .doctors__deco-dots,
  .cases__deco-dots,
  .cases__deco-dots-h {
    display: none;
  }

  .mirai__text {
    padding-left: 0;
    font-size: 16px;
  }

  .mirai__content-row {
    grid-template-columns: 1fr;
    width: 50%;
    margin: 0 auto;
    gap: 32px;
    justify-items: center;
  }

  .mirai__doctor {
    text-align: center;
  }

  .mirai__doctor img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    transform: none;
  }

  .mirai__info-block {
    gap: 40px;
    align-items: center;
  }

  .mirai__endorsement-texts {
    flex-direction: column;
    gap: 4px;
  }

  .mirai__endorsement-item {
    font-size: 15px;
    padding: 0;
  }

  .mirai__endorsement-item p {
    margin: 0;
  }

  .mirai__cta {
    padding: 12px 32px;
  }

  .mirai__cta span {
    font-size: 18px;
  }

  .mirai__gallery {
    grid-column: 1 / -1;
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 8px;
  }

  .mirai__gallery img {
    width: 280px;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .doctors__content {
    grid-template-columns: 1fr;
  }

  .doctors__clinic {
    grid-column: 1 / -1;
    order: 2;
    padding: 0;
    margin-top: 80px;
  }

  .doctors__doctor {
    grid-column: 1 / -1;
    order: 1;
  }

  .doctors__title {
    font-size: 40px;
  }

  .doctors__subtitle {
    font-size: 22px;
  }

  .doctors__point-circle {
    width: 90px;
    height: 90px;
  }

  .doctors__point-circle span {
    font-size: 28px;
  }

  .doctors__points-info {
    gap: 32px;
  }

  .doctors__point-info-card {
    width: 90px;
  }

  .doctors__point-info-card p {
    font-size: 14px;
  }

  .cases {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .cases__showcase {
    grid-column: 1 / -1;
    padding: 0;
  }

  .cases__plan {
    grid-column: 1 / -1;
  }

  .cases__title {
    font-size: 40px;
  }

  .cases__subtitle {
    font-size: 22px;
  }

  .cases__item {
    width: 100%;
  }

  .cases__item-text {
    padding: 24px 40px;
  }

  .cases__item-title {
    font-size: 28px;
  }

  .cases__item-desc {
    font-size: 20px;
  }

  .cases__plan {
    padding: 0 40px;
  }

  .cases__plan-title {
    font-size: 28px;
  }

  .cases__plan-label {
    font-size: 28px;
  }

  .cases__button {
    width: 130px;
    height: 130px;
  }

  .cases__button span {
    font-size: 26px;
  }

  .cases__plan-footer p {
    font-size: 28px;
  }


  .features__cards {
    flex-wrap: wrap;
    height: auto;
  }

  .features__card {
    flex: 1 1 calc(50% - 12px);
    max-width: calc(50% - 6px);
    min-width: calc(50% - 12px);
    border-radius: 40px;
    padding: 32px;
  }

  .features__card h3 {
    font-size: 24px;
    margin: 0;
  }

  .features__card p {
    font-size: 18px;
  }

  .features__table-section {
    padding: 48px 80px 72px;
  }

  .features__table-section table th,
  .features__table-section table td {
    font-size: 18px;
  }

  .doctors-section {
    gap: 32px;
  }

  .doctors-section__title {
    font-size: 40px;
  }

  .doctors-section__subtitle {
    font-size: 22px;
  }

  .doctors-section__desc {
    font-size: 20px;
  }

  .doctors-section__card-name {
    font-size: 26px;
  }

  .doctors-section__card-desc {
    font-size: 16px;
  }

  .doctors-section__timeline-title {
    font-size: 32px;
  }

  .doctors-section__step-circle {
    width: 100px;
    height: 100px;
  }

  .doctors-section__step-number {
    font-size: 36px;
  }

  .doctors-section__step-text {
    font-size: 20px;
  }

  .doctors-section__step {
    width: 140px;
  }

  .doctors-section__step-arrow {
    width: 16px;
  }

  .doctors-section__cta span {
    font-size: 20px;
  }

  .features__deco-dots-h,
  .doctors-section__deco-dots-h,
  .doctors-section__deco-dots {
    display: none;
  }

  .cases-section__deco-dots,
  .qa-section__deco-dots-h,
  .pricing-section__deco-dots-h,
  .traffic-section__deco-dots {
    display: none;
  }

  .cases-section {
    --side-padding: 80px;
  }

  .cases-section__title {
    font-size: 40px;
  }

  .cases-section__subtitle {
    font-size: 22px;
  }

  .cases-section__gender-btn,
  .cases-section__tab {
    font-size: 22px;
  }

  .traffic-section__cta-card {
    flex-direction: column;
    padding: 24px 40px;
  }

}

/* ================================
   Responsive: ≤ 768px
   ================================ */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 80px;
  }

  .header {
    padding: 12px 24px;
  }

  .header__logo img {
    width: 100px;
  }

  .header__burger {
    display: block;
  }

  .header__nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100dvh;
    background-color: rgb(101 114 106 / 90%);
    z-index: 1000;
    padding-top: 70px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    max-height: 100vh;
    max-width: 200px;
    overflow: auto;
  }

  .header__nav--open {
    display: flex;
  }

  .header__list {
    flex-direction: column;
    gap: 0;
    padding: 0;
    width: 100%;
    max-width: none;
  }

  .header__list li {
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
  }

  .header__list li + li::before {
    display: none;
  }

  .header__link {
    display: block;
    padding: 20px 0;
    font-size: 22px;
  }

  .hero {
    height: 600px;
  }

  .hero__content {
    --side-padding: 40px;
    grid-template-columns: repeat(8, 1fr);
    column-gap: 16px;
    row-gap: 32px;
    padding-bottom: 40px;
  }

  .hero {
    height: 600px;
    overflow: visible;
    margin-bottom: 100px;
  }

  .hero__content {
    position: static;
    padding-bottom: 72px;
  }

  .hero__title-block {
    grid-column: 1 / -1;
    gap: 16px;
  }

  .hero__info-card {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 24px 32px;
    margin: 0 40px;
    transform: translateY(-72px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  }

  .hero__info-heading {
    font-size: 22px;
  }

  .hero__info-desc {
    font-size: 16px;
  }

  .hero__deco {
    display: none;
  }

  .mirai {
    --side-padding: 40px;
    grid-template-columns: repeat(8, 1fr);
    column-gap: 16px;
    row-gap: 32px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .mirai__main {
    grid-column: 1 / -1;
  }

  .mirai__deco {
    display: none;
  }

  .mirai__text {
    padding-left: 0;
    font-size: 16px;
  }

  .mirai__content-row {
    grid-template-columns: 1fr;
    width: 70%;
    margin: 0 auto;
    gap: 32px;
    justify-items: center;
  }

  .mirai__doctor {
    text-align: center;
  }

  .mirai__doctor img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    transform: none;
  }

  .mirai__info-block {
    gap: 40px;
    align-items: center;
  }

  .mirai__endorsement-texts {
    flex-direction: column;
    gap: 4px;
  }

  .mirai__endorsement-item {
    font-size: 15px;
    padding: 0;
  }

  .mirai__endorsement-item p {
    margin: 0;
  }

  .mirai__cta {
    padding: 12px 32px;
  }

  .mirai__cta span {
    font-size: 18px;
    white-space: nowrap;
  }

  .mirai__cta img {
    width: 40px;
    height: auto;
  }
  .mirai__gallery {
    grid-column: 1 / -1;
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 8px;
  }

  .mirai__gallery img {
    width: 280px;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .doctors {
    --side-padding: 40px;
    padding-top: 40px;
    gap: 16px;
  }

  .doctors__header {
    flex-direction: column;
    gap: 8px;
  }

  .doctors__title {
    font-size: 40px;
  }

  .doctors__subtitle {
    font-size: 22px;
  }

  .doctors__content {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .doctors__clinic {
    grid-column: 1 / -1;
    padding: 56px 0 0 0;
    margin-top: 80px;
  }

  .doctors__clinic-photo {
    margin: 0 24px;
  }

  .doctors__points-info {
    gap: 32px;
  }

  .doctors__points-section {
    padding: 0 24px;
  }

  .doctors__points-row {
    padding: 0 calc(100% / 6 - 40px);
  }

  .doctors__point-circle {
    width: 80px;
    height: 80px;
  }

  .doctors__point-circle span {
    font-size: 24px;
  }

  .doctors__point-info-card {
    width: auto;
    flex: 1;
  }

  .doctors__clinic-card {
    padding-bottom: 60px;
  }

  .doctors__cta span {
    font-size: 18px;
  }

  .doctors__cta img {
    width: 40px;
    height: auto;
  }

  .doctors__cta {
    padding: 12px 32px;
  }

  .doctors__doctor {
    grid-column: 1 / -1;
  }

  .cases {
    --side-padding: 40px;
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .cases__showcase {
    grid-column: 1 / -1;
    padding: 0;
  }

  .cases__showcase-card {
    padding: 0 24px 24px;
  }

  .cases__title {
    font-size: 40px;
  }

  .cases__subtitle {
    font-size: 22px;
  }

  .cases__item {
    flex-direction: column;
    border-radius: 0 40px 0 0;
  }

  .cases__item-photo {
    width: 100%;
  }

  .cases__item-text {
    padding: 24px 32px;
  }

  .cases__item-title {
    font-size: 28px;
  }

  .cases__item-desc {
    font-size: 18px;
  }

  .cases__plan {
    grid-column: 1 / -1;
    padding: 0 24px 40px;
    gap: 32px;
  }

  .cases__plan-title {
    font-size: 28px;
  }

  .cases__plan-label {
    font-size: 24px;
  }

  .cases__button {
    width: 120px;
    height: 120px;
  }

  .cases__button span {
    font-size: 18px;
  }

  .cases__plan-footer p {
    font-size: 24px;
  }

  .cases__item-photo {
    min-width: unset;
  }

  .doctors__doctor-photo {
    margin: 0 24px;
  }

  .features__intro {
    --side-padding: 40px;
  }

  .features__hero {
    --side-padding: 40px;
    gap: 32px;
  }

  .features__display-title {
    text-align: center;
  }

  .features__cards {
    flex-wrap: wrap;
    height: auto;
  }

  .features__card {
    flex: 1 1 calc(50% - 12px);
    max-width: calc(50% - 6px);
    min-width: calc(50% - 12px);
    border-radius: 40px;
    padding: 32px;
  }

  .features__card h3 {
    font-size: 24px;
  }

  .features__card p {
    font-size: 16px;
  }

  .features__table-section {
    padding: 32px 24px 48px;
  }

  .features__table-title {
    font-size: 28px;
  }

  .features__table-section table {
    width: 100%;
  }

  .features__table-section table th,
  .features__table-section table td {
    font-size: 14px;
    padding: 6px 8px;
  }

  .features__disclaimer {
    font-size: 16px;
  }

  .section {
    min-height: 500px;
  }

  .section__title {
    font-size: 32px;
  }

  .contact-btns {
    right: 16px;
    bottom: 24px;
  }

  .contact-btn {
    width: 64px;
    height: 64px;
    padding: 12px;
  }

  .contact-btn img {
    width: 40px;
    height: 40px;
  }

  .doctors-section {
    --side-padding: 40px;
    gap: 24px;
  }

  .doctors-section__title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .doctors-section__title {
    font-size: 40px;
  }

  .doctors-section__subtitle {
    font-size: 22px;
  }

  .doctors-section__desc {
    font-size: 18px;
    text-align: left;
  }

  .doctors-section__list {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 16px;
  }

  .doctors-section__card-name {
    font-size: 24px;
  }

  .doctors-section__timeline-title {
    font-size: 28px;
  }

  .doctors-section__step-circle {
    width: clamp(64px, 10.42vw, 80px);
    height: clamp(64px, 10.42vw, 80px);
    padding: clamp(12px, 2.08vw, 16px) 0;
  }

  .doctors-section__step-number {
    font-size: clamp(20px, 3.65vw, 28px);
  }

  .doctors-section__step-label {
    font-size: clamp(10px, 1.82vw, 14px);
  }

  .doctors-section__step-text {
    font-size: 14px;
  }

  .doctors-section__step {
    width: auto;
  }

  .doctors-section__cta {
    padding: 12px 32px;
  }

  .doctors-section__cta span {
    font-size: 18px;
  }

  .doctors-section__cta img {
    width: 40px;
    height: auto;
  }

  .cases-section {
    --side-padding: 40px;
    min-height: auto;
  }

  .cases-section__title {
    font-size: 40px;
  }

  .cases-section__subtitle {
    font-size: 22px;
  }

  .cases-section__gender-btn,
  .cases-section__tab {
    font-size: 22px;
    padding: 4px 16px;
  }

  .cases-section__title-row {
    flex-wrap: wrap;
  }

  .cases-section__filters {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cases-section__tabs {
    flex-wrap: wrap;
    gap: 8px;
  }

  .cases-section__card-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cases-section__card-name {
    padding-right: 0;
    font-size: 24px;
  }

  .cases-section__card-tags {
    flex-wrap: wrap;
  }

  .cases-section__tag {
    font-size: 14px;
    padding: 2px 16px;
  }

  .cases-section__card-before,
  .cases-section__card-after {
    aspect-ratio: 4 / 3;
  }

  .cases-section__card-arrow {
    width: 48px;
    height: 48px;
    padding: 12px;
  }

  .cases-section__img-label {
    font-size: 14px;
    padding: 2px 12px;
  }

  .qa-section {
    --side-padding: 40px;
  }

  .qa-section__title {
    font-size: 40px;
  }

  .pricing-section__content {
    --side-padding: 40px;
  }

  .pricing-section__content h3 {
    font-size: 28px;
  }

  .pricing-section__content p strong {
    font-size: 28px;
  }

  .traffic-section__header {
    --side-padding: 40px;
  }

  .traffic-section__title {
    font-size: 40px;
  }

  .traffic-section__info-row {
    --side-padding: 40px;
    flex-direction: column;
  }

  .traffic-section__map {
    width: 100%;
    height: 280px;
  }

  .traffic-section__contact-info {
    font-size: 22px;
  }

  .traffic-section__cta-card {
    flex-direction: column;
    padding: 24px 40px;
    gap: 24px;
    border-radius: 32px;
  }

  .traffic-section__qrcode {
    width: 180px;
  }

  .traffic-section__cta-text {
    font-size: 28px;
  }

  .traffic-section__disclaimer {
    font-size: 20px;
    padding: 0 32px;
  }

  .popup {
    padding: 72px;
  }

  .popup__close {
    top: 16px;
    right: 16px;
  }
}

/* ================================
   Responsive: ≤ 480px
   ================================ */
@media (max-width: 480px) {
  .hero {
    height: 400px;
    margin-bottom: 120px;
  }

  .hero__content {
    --side-padding: 20px;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 16px;
    padding-bottom: 32px;
  }

  .hero__title-block {
    margin-bottom: 40px;
  }

  .hero__info-card {
    padding: 24px 20px;
    margin: 0 24px;
  }

  .mirai {
    --side-padding: 20px;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 16px;
  }

  .mirai__cta {
    padding: 10px 12px;
    gap: 6px;
  }

  .mirai__cta span {
    font-size: 15px;
    white-space: nowrap;
    letter-spacing: 0;
  }

  .mirai__cta img {
    width: 40px;
  }

  .doctors {
    --side-padding: 20px;
  }

  .doctors__point-circle {
    width: 64px;
    height: 64px;
  }

  .doctors__point-circle span {
    font-size: 20px;
  }

  .doctors__points-section {
    padding: 0 16px;
  }

  .doctors__clinic-photo {
    margin: 0 16px;
  }

  .doctors__point-info-card p {
    font-size: 13px;
  }

  .doctors__cta span {
    font-size: 16px;
  }

  .doctors-section__cta span {
    font-size: 16px;
  }

  .cases {
    --side-padding: 20px;
  }

  .cases__showcase-card {
    padding: 0 16px 20px;
  }

  .cases__buttons {
    grid-template-columns: repeat(2, 100px);
  }

  .cases__button {
    width: 100px;
    height: 100px;
    border-width: 4px;
  }

  .cases__button span {
    font-size: 20px;
  }

  .cases__button-icon {
    width: 40px;
    height: 36px;
    top: -16px;
  }

  .features__intro {
    --side-padding: 20px;
  }

  .features__hero {
    --side-padding: 20px;
  }

  .features__card {
    flex: 1 1 100%;
    border-radius: 24px;
    padding: 24px;
  }

  .features__banner-text {
    padding: 4px 14px;
  }

  .doctors__doctor-photo {
    margin: 0 16px;
  }

  .doctors-section {
    --side-padding: 20px;
    gap: 20px;
  }

  .doctors-section__title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .doctors-section__title {
    font-size: 40px;
  }

  .doctors-section__subtitle {
    font-size: 22px;
  }

  .doctors-section__desc {
    font-size: 16px;
  }

  .doctors-section__card-name {
    font-size: 22px;
  }

  .doctors-section__card-desc {
    font-size: 15px;
  }

  .doctors-section__timeline-title {
    font-size: 24px;
  }

  .doctors-section__step-text {
    font-size: 10px;
  }

  .cases-section {
    --side-padding: 20px;
    min-height: auto;
  }

  .cases-section__title {
    font-size: 40px;
  }

  .cases-section__subtitle {
    font-size: 22px;
  }

  .cases-section__gender-btn {
    font-size: 22px;
    padding: 6px 24px;
  }

  .cases-section__tab {
    font-size: 22px;
    padding: 4px 16px;
  }

  .cases-section__tabs {
    gap: 8px;
  }

  .cases-section__card-name {
    font-size: 20px;
  }

  .cases-section__tag {
    font-size: 12px;
    padding: 2px 12px;
  }

  .cases-section__card-before,
  .cases-section__card-after {
    aspect-ratio: 4 / 3;
  }

  .cases-section__card-arrow {
    width: 36px;
    height: 36px;
  }

  .cases-section__card-arrow .material-symbols-outlined {
    font-size: 18px;
  }

  .qa-section {
    --side-padding: 20px;
    padding: 0 var(--side-padding) 48px;
  }

  .qa-section__title {
    font-size: 40px;
  }

  .qa-section__list {
    padding-left: 16px;
    border-left-width: 4px;
  }

  .qa-section__question-text {
    font-size: 20px;
  }

  .qa-section__answer-text {
    font-size: 16px;
  }

  .qa-section__more {
    font-size: 16px;
  }

  .pricing-section {
    padding-top: 40px;
    gap: 24px;
  }

  .pricing-section__banner-text {
    padding: 4px 14px;
  }

  .pricing-section__title {
    font-size: 22px;
  }

  .pricing-section__content {
    --side-padding: 20px;
  }

  .pricing-section__content h3 {
    font-size: 22px;
  }

  .pricing-section__content p strong {
    font-size: 22px;
  }


  .traffic-section {
    padding-top: 40px;
    gap: 24px;
  }

  .traffic-section__header {
    --side-padding: 20px;
  }

  .traffic-section__title {
    font-size: 40px;
  }

  .traffic-section__info-row {
    --side-padding: 20px;
  }

  .traffic-section__clinic-logo {
    max-width: 280px;
  }

  .traffic-section__contact-info {
    font-size: 18px;
  }

  .traffic-section__cta-card {
    padding: 20px;
    border-radius: 24px;
  }

  .traffic-section__qrcode {
    width: 140px;
  }

  .traffic-section__cta-text {
    font-size: 22px;
  }

  .traffic-section__cta-btn {
    font-size: 18px;
    padding: 12px 32px;
  }

  .traffic-section__disclaimer {
    font-size: 16px;
    padding: 0 20px;
  }

  .popup {
    padding: 40px 32px;
    border-radius: 32px;
  }

  .popup__close {
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
    padding: 8px;
  }

  .popup__close .material-symbols-outlined {
    font-size: 28px;
  }
}

/* ===== Claire 回饋修正 ===== */

/* 手機版醫師照片不裁切臉部 */
@media (max-width: 768px) {
  /* CMS 動態醫師卡片 */
  .doctors-section__card-photo img {
    object-position: center top;
  }

  /* Hero 背景圖 — Claire 回饋：往右移不切到左邊醫師的臉 */
  .hero {
    background-position: 30% center;
  }
}

/* 篩選 tab 觸控友善（最小高度 44px） */
.cases-section__tab {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* === [TG-3554 #1] 清單外位置改為黑體（base body 已是 sans，這裡覆寫既有 serif 規則） === */
.header__link,
.hero__info-desc,
.mirai__text p,
.mirai__endorsement-item,
.doctors__subtitle,
.doctors__point-circle span,
.doctors__point-info-card p,
.doctors__doctor-desc,
.doctors-section__subtitle,
.doctors-section__desc,
.doctors-section__step-text,
.cases-section__gender-btn,
.cases-section__tab,
.cases__subtitle,
.cases__item-title,
.cases__item-desc,
.cases__plan-title,
.cases__plan-desc,
.cases__button span,
.cases__plan-footer p,
.features__desc,
.features__patent,
.features__card h3,
.features__card p,
.features__table-title,
.cases-section__subtitle,
.cases-section__tag,
.cases-section__img-label,
.cases-section__more-btn,
.qa-section__question-text,
.qa-section__toggle,
.qa-section__answer-text,
.qa-section__more,
.pricing-section__content h3,
.pricing-section__content p,
.pricing-section__content h4,
.traffic-section__contact-info,
.traffic-section__disclaimer,
.popup__title,
.popup__desc,
.popup__close-btn {
  font-family: 'Noto Sans TC', sans-serif;
}
