:root {
  --teal: #66bec4;
  --deep: #2d3e52;
  --text: #333;
  --panel: #f0f0f0;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  background: #fff;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans TC", "Noto Sans", sans-serif;
  font-size: 20px;
  line-height: 1.5;
}

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

.contact-strip {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 18px;
  background: var(--deep);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-bar { height: 86px; background: var(--teal); color: #fff; }

.nav-inner {
  width: min(1380px, calc(100% - 60px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo { width: 235px; flex: 0 0 235px; line-height: 0; }
.logo img, .footer-logo { display: block; width: 100%; height: auto; filter: brightness(0) invert(1); }

nav { display: flex; align-self: stretch; align-items: center; gap: 34px; }
nav a { text-align: center; white-space: nowrap; }
nav small { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 600; }
nav strong { display: block; font-size: 16px; font-weight: 800; }

.search-box {
  margin-left: auto;
  width: 238px;
  height: 31px;
  display: flex;
  align-items: center;
  background: #fff;
  color: #aaa;
  font-size: 12px;
}
.search-box span { flex: 1; padding-left: 12px; }
.search-box b { width: 37px; height: 31px; display: grid; place-items: center; background: #8bacae; color: #fff; font-size: 25px; line-height: 1; }

.socials, .footer-socials { display: flex; align-items: center; gap: 8px; }
.socials i, .footer-socials i { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.35); color: #fff; font-size: 12px; font-style: normal; font-weight: 700; }
.menu-icon { display: none; }

main { width: min(1140px, calc(100% - 44px)); margin: 0 auto; padding: 0 0 26px; }

main p { margin: 0 0 18px; }
main strong { font-weight: 700; }

.brand-title, .about-title {
  margin: 10px 0 20px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 500;
}

.about-title { margin-top: 0; }

.section-title {
  margin: 20px 0;
  padding: 8px 12px 8px 11px;
  border-left: 7px solid var(--teal);
  background: var(--panel);
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
}

main h3 {
  margin: 30px 0 10px;
  color: var(--teal);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

figure { margin: 20px 0; line-height: 0; }
figure img { width: 100%; height: auto; display: block; }

.clinic-info p { margin: 0; }
.clinic-info { margin-bottom: 19px; }

.quick-links {
  position: fixed;
  z-index: 5;
  right: 30px;
  top: 52%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quick-links span { width: 40px; height: 40px; display: grid; place-items: center; background: var(--teal); color: #fff; font-size: 19px; }

footer { background: var(--deep); color: #fff; font-size: 14px; }
.footer-inner {
  width: min(1100px, calc(100% - 60px));
  min-height: 155px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px 1fr 230px;
  align-items: center;
}
.footer-logo { width: 205px; }
.footer-contact { padding: 0 80px; border-left: 1px solid rgba(255,255,255,.5); border-right: 1px solid rgba(255,255,255,.5); text-align: center; }
.footer-contact strong { display: block; line-height: 1.7; }
.footer-socials { justify-content: center; }
.footer-socials i { width: 26px; height: 26px; background: #8fb9bb; }
.copyright { height: 60px; display: grid; place-items: center; border-top: 1px solid rgba(255,255,255,.13); font-weight: 700; }

@media (max-width: 1100px) {
  nav { gap: 18px; }
  .search-box { display: none; }
  .nav-inner { width: calc(100% - 30px); gap: 20px; }
  .logo { width: 210px; flex-basis: 210px; }
}

@media (max-width: 800px) {
  body { font-size: 17px; }
  .contact-strip { height: auto; min-height: 32px; flex-wrap: wrap; gap: 2px 14px; padding: 6px 10px; line-height: 1.35; }
  .nav-bar { height: 70px; }
  .nav-inner { justify-content: space-between; }
  .logo { width: 205px; flex-basis: 205px; }
  nav, .socials { display: none; }
  .menu-icon { display: block; width: 38px; height: 38px; }
  main { width: calc(100% - 30px); }
  .brand-title, .about-title { font-size: 32px; }
  .section-title { font-size: 17px; }
  main h3 { font-size: 18px; }
  .quick-links { display: none; }
  .footer-inner { min-height: 250px; grid-template-columns: 1fr; justify-items: center; padding: 28px 0; gap: 22px; }
  .footer-contact { padding: 18px 0; border: 0; border-top: 1px solid rgba(255,255,255,.4); border-bottom: 1px solid rgba(255,255,255,.4); }
}
