:root {
  --white: #fffdf8;
  --cream: #f5efe3;
  --mist: #eef3ed;
  --green: #173f2d;
  --green-2: #2f684c;
  --gold: #c9a45f;
  --ink: #17231d;
  --muted: #65736b;
  --glass: rgba(255, 255, 255, 0.56);
  --line: rgba(23, 63, 45, 0.15);
  --shadow: 0 28px 90px rgba(22, 48, 36, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 28px));
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 10px 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  backdrop-filter: blur(22px);
  box-shadow: 0 14px 40px rgba(23, 63, 45, 0.12);
}

.brand,
.nav-links,
.button-row,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.nav-links {
  gap: 22px;
  color: rgba(23, 35, 29, 0.75);
  font-size: 0.95rem;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-cta,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-cta,
.pill.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), #275d43);
  box-shadow: 0 18px 44px rgba(23, 63, 45, 0.22);
}

.pill.secondary {
  color: var(--green);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(16px);
}

.pill:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(23, 63, 45, 0.24);
}

.panel,
.section,
.belief-section,
.contact-section {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 130px max(24px, calc((100vw - 1120px) / 2)) 72px;
}

.image-panel {
  isolation: isolate;
}

.panel-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 115%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.9) 0%, rgba(255, 253, 248, 0.64) 42%, rgba(255, 253, 248, 0.1) 100%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.12), rgba(255, 253, 248, 0.74));
}

.hero-content {
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 7vw, 5.8rem);
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--green);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--green);
}

h3 {
  font-size: 1.15rem;
  line-height: 1.35;
}

.hero-subtitle,
.lead {
  color: var(--green);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 650;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 24px 0 34px;
  list-style: none;
}

.hero-points li,
.tag-cloud span,
.vision-list span {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(23, 63, 45, 0.08);
}

.hero-points li::before,
.vision-list span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--gold);
  font-weight: 900;
}

.button-row,
.contact-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  color: rgba(23, 63, 45, 0.62);
  font-size: 0.82rem;
}

.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 34px;
  margin: 8px auto 0;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

.section {
  padding: 116px max(24px, calc((100vw - 1120px) / 2));
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  align-items: center;
  gap: clamp(32px, 6vw, 82px);
}

.copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

blockquote {
  margin: 30px 0;
  padding: 26px;
  border-left: 4px solid var(--gold);
  border-radius: 0 22px 22px 0;
  color: var(--green);
  background: linear-gradient(135deg, rgba(245, 239, 227, 0.9), rgba(255, 255, 255, 0.64));
  font-size: 1.25rem;
  font-weight: 700;
}

.tag-cloud,
.vision-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portrait-card {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: var(--glass);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.portrait-card img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.portrait-card figcaption {
  padding: 16px 10px 4px;
  color: var(--green);
  font-weight: 700;
}

.mission-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(201, 164, 95, 0.2), transparent 26%),
    linear-gradient(135deg, #edf5ec, #fbf7ee 52%, #e6f0e8);
}

.mission-wrap {
  width: min(860px, 100%);
  margin: 0 auto;
  text-align: center;
}

.life-tree {
  width: 168px;
  height: 168px;
  margin: 0 auto 26px;
  position: relative;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
}

.life-tree::before,
.life-tree::after,
.life-tree span {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-2);
}

.life-tree::before {
  bottom: 32px;
  width: 12px;
  height: 78px;
  border-radius: 999px;
}

.life-tree::after {
  top: 34px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 40%, var(--gold) 0 9px, transparent 10px),
    radial-gradient(circle at 58% 26%, #7aa477 0 11px, transparent 12px),
    radial-gradient(circle at 70% 58%, var(--green-2) 0 12px, transparent 13px),
    radial-gradient(circle at 40% 70%, #9bbd8f 0 10px, transparent 11px);
}

.life-tree span {
  bottom: 27px;
  width: 70px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
}

.section-quote {
  margin: 38px auto 0;
  color: var(--green);
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  font-weight: 800;
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.photo-card-grid,
.icon-grid,
.feature-grid,
.cert-grid,
.service-grid {
  display: grid;
  gap: 18px;
}

.photo-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-card {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: end;
  overflow: hidden;
  padding: 24px;
  border-radius: 26px;
  color: white;
  background-image: linear-gradient(180deg, transparent 32%, rgba(14, 34, 24, 0.72)), var(--bg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease;
}

.photo-card:hover {
  transform: translateY(-8px) scale(1.01);
}

.photo-card h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
}

.improve-section {
  background: #f4f5f2;
}

.icon-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.glass-tile,
.feature-card,
.service-card {
  min-height: 180px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 58px rgba(23, 63, 45, 0.1);
}

.glass-tile span,
.circle-item span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--gold));
  font-weight: 900;
}

.philosophy-section {
  text-align: center;
  background: var(--white);
}

.big-statement {
  color: var(--green);
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 900;
  line-height: 1;
}

.circle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  width: min(780px, 100%);
  margin: 50px auto 0;
}

.circle-item {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.circle-item span {
  width: 116px;
  height: 116px;
  margin: 0;
  font-size: 2rem;
  box-shadow: var(--shadow);
}

.circle-item p {
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.medical-note {
  width: min(840px, 100%);
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.expertise-section,
.certificates-section {
  background: linear-gradient(180deg, #fffdf8, #f5efe3);
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card span {
  color: var(--gold);
  font-weight: 900;
}

.feature-card p,
.service-card p {
  color: var(--muted);
}

.difference-section {
  background: var(--green);
  color: var(--white);
}

.difference-section h2,
.difference-section .eyebrow {
  color: var(--white);
}

.split-band {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 44px;
  align-items: center;
}

.difference-list {
  display: grid;
  gap: 14px;
}

.difference-list article {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.difference-list strong {
  font-size: 1.25rem;
}

.difference-list span {
  color: rgba(255, 255, 255, 0.72);
}

.difference-line {
  color: #f3db9f;
  font-size: clamp(1.7rem, 4vw, 3.3rem);
  font-weight: 900;
  line-height: 1.15;
}

.cert-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cert-card {
  min-height: 170px;
  padding: 24px;
  border: 1px solid rgba(23, 63, 45, 0.12);
  border-radius: 18px;
  color: var(--green);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 239, 227, 0.84)),
    repeating-linear-gradient(45deg, transparent 0 9px, rgba(201, 164, 95, 0.08) 10px 11px);
  box-shadow: 0 20px 50px rgba(23, 63, 45, 0.1);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(23, 63, 45, 0.16);
}

.services-section {
  background: #f7f8f5;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.belief-section {
  min-height: 76svh;
  display: grid;
  place-items: center;
  padding: 100px 24px;
  text-align: center;
}

.belief-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(16, 43, 30, 0.34);
}

.belief-content {
  width: min(920px, 100%);
  color: var(--white);
  text-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
}

.belief-content h2 {
  color: var(--white);
}

.belief-content p {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.contact-section {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px 24px 44px;
}

.contact-card {
  width: min(860px, 100%);
  padding: clamp(28px, 6vw, 70px);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 34px;
  background: rgba(255, 253, 248, 0.7);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-actions {
  justify-content: center;
  margin: 30px 0 42px;
}

footer {
  display: grid;
  gap: 5px;
  color: var(--green);
}

footer span,
footer small {
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(14, 34, 24, 0.62);
  backdrop-filter: blur(16px);
}

.modal.is-open {
  display: grid;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--green);
  background: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

.modal-paper {
  width: min(680px, 92vw);
  min-height: 440px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 52px;
  border: 14px solid rgba(201, 164, 95, 0.22);
  border-radius: 18px;
  color: var(--green);
  background: linear-gradient(135deg, #fffdf8, #f3ead7);
  box-shadow: 0 44px 110px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.modal-paper span {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.modal-paper h3 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.28s;
}

@keyframes scrollLine {
  0%,
  100% {
    transform: scaleY(0.45);
    opacity: 0.45;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 880px) {
  .site-header {
    top: 10px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    padding-inline: 16px;
  }

  .hero,
  .section {
    padding-inline: 20px;
  }

  .section-grid,
  .split-band {
    grid-template-columns: 1fr;
  }

  .photo-card-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .icon-grid,
  .feature-grid,
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .circle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 54px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    padding-top: 106px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(255, 253, 248, 0.62));
  }

  .photo-card-grid,
  .icon-grid,
  .feature-grid,
  .cert-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .photo-card {
    min-height: 260px;
  }

  .difference-list article {
    display: grid;
  }

  .contact-card {
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
