:root {
  --wr-navy: #16324f;
  --wr-teal: #2aa6a4;
  --wr-gold: #d4a94e;
  --wr-cloud: #f8fafc;
  --wr-ink: #1f2937;
  --wr-white: #fff;
  --wr-border: #dbe4ef;
  --wr-shadow: 0 16px 40px rgba(22, 50, 79, 0.08);
  --wr-shadow-lg: 0 24px 70px rgba(22, 50, 79, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.wr-site {
  margin: 0;
  background: var(--wr-cloud);
  color: var(--wr-ink);
  font-family: Inter, "Noto Sans TC", system-ui, sans-serif;
  letter-spacing: 0;
}

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

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

.wr-container {
  margin-inline: auto;
  width: min(1180px, calc(100% - 32px));
}

.wr-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 228, 239, 0.9);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
}

.wr-header__inner {
  align-items: center;
  display: flex;
  gap: 24px;
  min-height: 80px;
}

.wr-logo {
  color: var(--wr-navy);
  flex: 1 0 auto;
}

.wr-logo strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
}

.wr-logo small {
  color: #64748b;
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 3px;
}

.wr-nav {
  display: block;
}

.wr-menu,
.wr-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wr-menu {
  align-items: center;
  display: flex;
  gap: 24px;
}

.wr-menu a {
  color: #334155;
  font-size: 0.92rem;
  font-weight: 800;
}

.wr-menu a:hover {
  color: var(--wr-teal);
}

.wr-header__actions {
  align-items: center;
  display: flex;
  gap: 14px;
}

.wr-phone {
  color: var(--wr-navy);
  font-weight: 900;
  white-space: nowrap;
}

.wr-menu-toggle {
  background: #fff;
  border: 1px solid var(--wr-border);
  border-radius: 6px;
  color: var(--wr-navy);
  display: none;
  font-weight: 900;
  min-height: 44px;
  padding: 0 14px;
}

.wr-button,
.wr-booking-form button {
  align-items: center;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  transition: 0.2s ease;
}

.wr-button--primary,
.wr-booking-form button {
  background: var(--wr-teal);
  color: #fff;
}

.wr-button--gold {
  background: var(--wr-gold);
  color: var(--wr-navy);
}

.wr-button--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
}

.wr-button:hover,
.wr-booking-form button:hover {
  transform: translateY(-1px);
}

.wr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.wr-eyebrow {
  color: var(--wr-teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
}

.wr-hero {
  color: #fff;
  min-height: calc(100vh - 80px);
  overflow: hidden;
  position: relative;
}

.wr-hero__bg,
.wr-service-hero::before {
  background:
    linear-gradient(90deg, rgba(22, 50, 79, 0.96), rgba(22, 50, 79, 0.75), rgba(22, 50, 79, 0.34)),
    url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=2200&q=80") center / cover;
  inset: 0;
  position: absolute;
}

.wr-hero__grid {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - 80px);
  padding-block: 64px;
  position: relative;
}

.wr-hero h1,
.wr-page-hero h1,
.wr-doctor-hero h1,
.wr-service-hero h1 {
  font-size: clamp(2.7rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  margin: 22px 0 0;
}

.wr-hero p:not(.wr-eyebrow),
.wr-page-hero p:not(.wr-eyebrow),
.wr-doctor-hero p:not(.wr-eyebrow),
.wr-service-hero p:not(.wr-eyebrow) {
  font-size: 1.12rem;
  line-height: 1.8;
  margin: 24px 0 0;
  max-width: 680px;
}

.wr-service-panel {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 20px;
  backdrop-filter: blur(14px);
}

.wr-service-panel a {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  display: grid;
  gap: 4px;
  grid-template-columns: 36px 1fr;
  padding: 18px;
}

.wr-service-panel span {
  color: var(--wr-gold);
  font-size: 1.35rem;
  grid-row: span 2;
}

.wr-service-panel strong {
  font-weight: 900;
}

.wr-service-panel small {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.wr-trust {
  background: #fff;
  padding-block: 30px;
}

.wr-trust__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.wr-trust__grid div {
  background: var(--wr-cloud);
  border: 1px solid var(--wr-border);
  border-radius: 8px;
  padding: 22px;
}

.wr-trust strong {
  color: var(--wr-navy);
  display: block;
  font-size: 2.15rem;
  font-weight: 900;
}

.wr-trust span {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 800;
}

.wr-section {
  padding-block: clamp(56px, 8vw, 104px);
}

.wr-section--white {
  background: #fff;
}

.wr-section-heading {
  margin-inline: auto;
  max-width: 760px;
  text-align: center;
}

.wr-section-heading h2,
.wr-split h2 {
  color: var(--wr-navy);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 14px 0 0;
}

.wr-section-heading p:not(.wr-eyebrow),
.wr-split p:not(.wr-eyebrow) {
  color: #64748b;
  line-height: 1.8;
  margin-top: 16px;
}

.wr-split,
.wr-two-col {
  display: grid;
  gap: 36px;
  grid-template-columns: 0.9fr 1.1fr;
}

.wr-two-col {
  align-items: start;
  grid-template-columns: 1fr 360px;
}

.wr-card-grid,
.wr-doctor-grid,
.wr-review-grid,
.wr-post-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  margin-top: 40px;
}

.wr-card,
.wr-content-card,
.wr-review,
.wr-story,
.wr-booking-form,
.wr-post-card,
.wr-doctor-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--wr-shadow);
}

.wr-card {
  border: 1px solid transparent;
  display: block;
  padding: 26px;
}

.wr-card:hover {
  border-color: var(--wr-teal);
  transform: translateY(-2px);
}

.wr-card h2,
.wr-card h3,
.wr-content-card h2,
.wr-post-card h2,
.wr-post-card h3,
.wr-doctor-card h3,
.wr-story h3 {
  color: var(--wr-navy);
  font-weight: 900;
  margin: 0;
}

.wr-card p,
.wr-content-card p,
.wr-post-card p,
.wr-doctor-card p,
.wr-doctor-card small,
.wr-review p,
.wr-story p {
  color: #64748b;
  line-height: 1.75;
}

.wr-card span,
.wr-post-card span {
  color: var(--wr-teal);
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 900;
  margin-top: 16px;
  text-transform: uppercase;
}

.wr-pain-map {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 50% 20%, rgba(42, 166, 164, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(22, 50, 79, 0.06), rgba(212, 169, 78, 0.09));
  border-radius: 8px;
  box-shadow: var(--wr-shadow);
  margin-inline: auto;
  max-width: 430px;
  position: relative;
  width: 100%;
}

.wr-pain-map::before {
  background: #edf2f7;
  border: 2px solid rgba(22, 50, 79, 0.12);
  border-radius: 999px;
  content: "";
  height: 78%;
  left: 50%;
  position: absolute;
  top: 8%;
  transform: translateX(-50%);
  width: 24%;
}

.wr-pain-map a {
  align-items: center;
  background: var(--wr-teal);
  border-radius: 999px;
  box-shadow: var(--wr-shadow);
  color: #fff;
  display: flex;
  font-size: 0.75rem;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 48px;
  z-index: 2;
}

.wr-pain-map a span {
  background: var(--wr-navy);
  border-radius: 6px;
  bottom: -34px;
  color: #fff;
  opacity: 0;
  padding: 5px 8px;
  position: absolute;
  transition: 0.2s;
  white-space: nowrap;
}

.wr-pain-map a:hover span {
  opacity: 1;
}

.wr-doctor-card {
  overflow: hidden;
}

.wr-doctor-card__image {
  aspect-ratio: 4 / 3;
  background: #e2e8f0;
  overflow: hidden;
}

.wr-doctor-card__image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.wr-doctor-card__placeholder {
  align-items: center;
  background: linear-gradient(135deg, rgba(42, 166, 164, 0.14), rgba(212, 169, 78, 0.12));
  color: var(--wr-teal);
  display: flex;
  font-size: 4rem;
  font-weight: 900;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.wr-doctor-card__body {
  padding: 22px;
}

.wr-doctor-card strong {
  color: var(--wr-teal);
  display: block;
  font-size: 0.9rem;
  margin-top: 4px;
}

.wr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.wr-tags span {
  background: var(--wr-cloud);
  border-radius: 6px;
  color: var(--wr-navy);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 6px 10px;
}

.wr-story {
  padding: 24px;
}

.wr-story div {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.wr-story span {
  background: var(--wr-cloud);
  border-radius: 6px;
  color: var(--wr-teal);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 16px;
  text-transform: uppercase;
}

.wr-review {
  border: 1px solid var(--wr-border);
  box-shadow: none;
  padding: 26px;
}

.wr-review div {
  color: var(--wr-gold);
}

.wr-faq-list {
  display: grid;
  gap: 12px;
}

.wr-faq-list details {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--wr-shadow);
  padding: 20px;
}

.wr-faq-list summary {
  color: var(--wr-navy);
  cursor: pointer;
  font-weight: 900;
}

.wr-booking-band {
  background: var(--wr-navy);
  color: #fff;
}

.wr-booking-band h2,
.wr-booking-band .wr-split p:not(.wr-eyebrow) {
  color: #fff;
}

.wr-booking-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.wr-booking-form label {
  color: var(--wr-navy);
  display: grid;
  font-size: 0.86rem;
  font-weight: 900;
  gap: 8px;
}

.wr-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.wr-booking-form input,
.wr-booking-form textarea,
.wr-booking-form select {
  border: 1px solid var(--wr-border);
  border-radius: 6px;
  color: var(--wr-ink);
  font: inherit;
  min-height: 48px;
  padding: 12px;
  width: 100%;
}

.wr-booking-form input:focus,
.wr-booking-form textarea:focus,
.wr-booking-form select:focus {
  border-color: var(--wr-teal);
  outline: none;
}

.wr-form-note {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.6;
  margin: 0;
}

.wr-form-alert {
  border-radius: 6px;
  font-weight: 800;
  padding: 12px;
}

.wr-form-alert--success {
  background: rgba(42, 166, 164, 0.13);
  color: #0f766e;
}

.wr-form-alert--error {
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
}

.wr-post-card {
  overflow: hidden;
}

.wr-post-card a {
  display: block;
}

.wr-post-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.wr-post-card div {
  padding: 22px;
}

.wr-page-hero,
.wr-doctor-hero,
.wr-service-hero {
  background: var(--wr-navy);
  color: #fff;
  padding-block: 72px;
}

.wr-service-hero {
  background: var(--wr-navy);
  overflow: hidden;
  position: relative;
}

.wr-service-hero::before {
  background:
    linear-gradient(rgba(22, 50, 79, 0.82), rgba(22, 50, 79, 0.82)),
    var(--service-image) center / cover;
  content: "";
}

.wr-service-hero .wr-container {
  position: relative;
}

.wr-doctor-hero__image {
  border-radius: 8px;
  box-shadow: var(--wr-shadow-lg);
  min-height: 320px;
  overflow: hidden;
}

.wr-doctor-hero__image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.wr-stack {
  display: grid;
  gap: 22px;
}

.wr-content-card {
  padding: 26px;
}

.wr-content {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--wr-shadow);
  line-height: 1.8;
  padding: 30px;
}

.wr-info-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.wr-info-list li {
  background: var(--wr-cloud);
  border-radius: 6px;
  color: #475569;
  font-weight: 800;
  line-height: 1.65;
  padding: 14px;
}

.wr-education-card {
  background: #fff;
  border-left: 4px solid var(--wr-teal);
  border-radius: 8px;
  box-shadow: var(--wr-shadow);
  padding: 28px;
}

.wr-education-card h2,
.wr-video-heading h2 {
  color: var(--wr-navy);
  font-size: 1.65rem;
  font-weight: 900;
  margin: 0;
}

.wr-education-card__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 340px;
  margin-top: 24px;
}

.wr-education-lists {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

.wr-education-lists h3 {
  color: var(--wr-navy);
  font-weight: 900;
  margin: 0 0 12px;
}

.wr-education-lists ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wr-education-lists li {
  background: var(--wr-cloud);
  border-radius: 6px;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.65;
  padding: 12px 14px;
}

.wr-education-icon {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(42, 166, 164, 0.12), rgba(212, 169, 78, 0.1));
  border-radius: 8px;
  color: var(--wr-teal);
  display: flex;
  font-size: 4rem;
  justify-content: center;
}

.wr-info-note {
  background: rgba(42, 166, 164, 0.11);
  border-left: 4px solid var(--wr-teal);
  border-radius: 6px;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.7;
  margin: 16px 0 0;
  padding: 14px;
}

.wr-video-heading {
  border-left: 4px solid var(--wr-teal);
  padding-left: 16px;
}

.wr-video-heading p {
  color: #64748b;
  margin: 8px 0 0;
}

.wr-video-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  margin-top: 24px;
}

.wr-video-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--wr-shadow);
  overflow: hidden;
}

.wr-video-frame {
  aspect-ratio: 16 / 9;
  background: rgba(42, 166, 164, 0.1);
  position: relative;
}

.wr-video-frame iframe {
  border: 0;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.wr-video-frame div {
  align-items: center;
  color: var(--wr-teal);
  display: flex;
  font-size: 3.5rem;
  height: 100%;
  justify-content: center;
}

.wr-video-body {
  padding: 20px;
}

.wr-video-body h3 {
  color: var(--wr-navy);
  font-size: 1.08rem;
  font-weight: 900;
  margin: 0;
}

.wr-video-body p {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 10px 0 0;
}

.wr-step-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}

.wr-step-grid div {
  background: var(--wr-cloud);
  border-radius: 8px;
  padding: 20px;
}

.wr-step-grid span {
  color: var(--wr-teal);
  font-weight: 900;
}

.wr-featured-image {
  border-radius: 8px;
  margin-bottom: 28px;
  overflow: hidden;
}

.wr-media-column-figure {
  background: #fff;
  border: 1px solid var(--wr-border);
  border-radius: 8px;
  margin: 28px 0;
  overflow: hidden;
}

.wr-media-column-figure img {
  width: 100%;
}

.wr-footer {
  background: var(--wr-navy);
  color: #fff;
  padding: 56px 0 88px;
}

.wr-footer__grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.2fr 0.8fr 1fr;
}

.wr-footer h2,
.wr-footer h3 {
  margin-top: 0;
}

.wr-footer p,
.wr-footer a {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.wr-footer-menu {
  display: grid;
  gap: 10px;
}

.wr-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  margin-top: 34px;
  padding-top: 22px;
}

.wr-floating-whatsapp {
  align-items: center;
  background: var(--wr-teal);
  border-radius: 999px;
  bottom: 24px;
  box-shadow: var(--wr-shadow-lg);
  color: #fff;
  display: flex;
  font-size: 1.35rem;
  height: 56px;
  justify-content: center;
  position: fixed;
  right: 24px;
  width: 56px;
  z-index: 60;
}

.wr-mobile-cta {
  display: none;
}

.pagination,
.nav-links {
  margin-top: 32px;
}

@media (max-width: 980px) {
  .wr-header__inner {
    min-height: 72px;
  }

  .wr-menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .wr-nav {
    background: #fff;
    border-top: 1px solid var(--wr-border);
    display: none;
    left: 0;
    padding: 14px 16px;
    position: absolute;
    right: 0;
    top: 72px;
  }

  .wr-nav.is-open {
    display: block;
  }

  .wr-menu {
    align-items: stretch;
    display: grid;
    gap: 0;
  }

  .wr-menu a {
    display: block;
    padding: 12px;
  }

  .wr-header__actions {
    display: none;
  }

  .wr-hero__grid,
  .wr-split,
  .wr-two-col,
  .wr-footer__grid {
    grid-template-columns: 1fr;
  }

  .wr-hero,
  .wr-hero__grid {
    min-height: auto;
  }

  .wr-trust__grid,
  .wr-step-grid,
  .wr-education-card__grid,
  .wr-education-lists {
    grid-template-columns: 1fr;
  }

  .wr-floating-whatsapp {
    display: none;
  }

  .wr-mobile-cta {
    background: var(--wr-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    left: 0;
    position: fixed;
    right: 0;
    z-index: 70;
  }

  .wr-mobile-cta a {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 900;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .wr-container {
    width: min(100% - 24px, 1180px);
  }

  .wr-hero h1,
  .wr-page-hero h1,
  .wr-doctor-hero h1,
  .wr-service-hero h1 {
    font-size: 2.45rem;
  }

  .wr-form-grid,
  .wr-story div {
    grid-template-columns: 1fr;
  }
}
