/* =================================================================
   卓康中醫 CHTCM — Hong Kong TCM Pain Management
   Design System: "Architectural Apothecary"
   ================================================================= */

/* --- Design Tokens ------------------------------------------------- */
:root {
  /* Color — 卓康中醫 brand palette (navy + gold + sage) */
  --ink:        #0E1F3A;
  --ink-soft:   #2A3A5C;
  --lacquer:    #1E3A5F;
  --navy:       #1E3A5F;
  --navy-light: #3A5A7F;
  --cinnabar:   #B8956A;
  --cinnabar-h: #9A7A52;
  --cinnabar-light: #C9A875;
  --gold:       #B8956A;
  --gold-soft:  #9A7A52;
  --sage:       #7A9080;
  --sage-soft:  #5A7060;
  --paper:      #F4EFE6;
  --paper-warm: #E5DABF;
  --paper-deep: #D8C9A6;
  --moss:       #7A9080;
  --moss-soft:  #5A7060;
  --mist:       #8A8580;
  --hair:       #C9BFA6;
  --white:      #FBF7EE;

  /* Type */
  --display-latin: 'Fraunces', 'Noto Serif TC', serif;
  --display-cn:    'Noto Serif TC', 'Fraunces', serif;
  --body-latin:    'Inter', 'Noto Sans TC', sans-serif;
  --body-cn:       'Noto Sans TC', 'Inter', sans-serif;
  --mono:          'JetBrains Mono', ui-monospace, monospace;

  /* Spacing scale */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-7:  48px;
  --s-8:  64px;
  --s-9:  96px;
  --s-10: 128px;
  --s-11: 160px;

  /* Layout */
  --content-max: 1280px;
  --gutter:      24px;
  --nav-h:       72px;
}

/* --- Reset & Base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body-cn);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* --- Typography --------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display-cn);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cinnabar);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--cinnabar);
}

.lede {
  font-family: var(--body-cn);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* --- Layout Utilities --------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--s-9) 0; position: relative; }
.section--tight { padding: var(--s-8) 0; }
.section--wide  { padding: var(--s-10) 0; }
.divider {
  border: 0;
  border-top: 1px solid var(--hair);
  margin: 0;
}
.section-label {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: var(--s-6);
}
.section-label__no {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--cinnabar);
  letter-spacing: 0.05em;
}
.section-label__title {
  font-family: var(--display-cn);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}

/* --- Background Apothecary Pattern (signature) ------------------- */
.apothecary-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    linear-gradient(to right, var(--ink) 1px, transparent 1px),
    linear-gradient(to bottom, var(--ink) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 0;
}
.section--patterned { position: relative; }
.section--patterned > .container { position: relative; z-index: 1; }

/* --- Navigation --------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(239, 231, 213, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
  transition: background 0.3s;
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display-cn);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand__mark {
  width: 36px;
  height: 36px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--display-cn);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.brand__en {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--mist);
  letter-spacing: 0.2em;
  display: block;
  margin-top: 2px;
}
/* Logo image (used in nav / footer) */
.brand__logo {
  height: 48px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.footer .brand__logo {
  height: 56px;
}

/* Brand text (Chinese name + English) */
.brand__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: 14px;
  line-height: 1;
}
.brand__text-cn {
  font-family: var(--display-cn);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.05em;
}
.brand__text-en {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--mist);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav__link:hover { color: var(--cinnabar); }
.nav__link--active { color: var(--cinnabar); }
.nav__link--active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--cinnabar);
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--cinnabar);
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}
.nav__cta:hover { background: var(--lacquer); }
.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: flex-end;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: 0.2s;
}
.nav__toggle span:nth-child(2) { width: 18px; }

/* --- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--body-cn);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--ink);
  transition: all 0.2s;
  white-space: nowrap;
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--cinnabar); border-color: var(--cinnabar); }
.btn--accent { background: var(--cinnabar); color: var(--paper); border-color: var(--cinnabar); }
.btn--accent:hover { background: var(--lacquer); border-color: var(--lacquer); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--block { width: 100%; }

/* --- Floating WhatsApp ------------------------------------------- */
.float-wa {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 16px;
  background: #25D366;
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: transform 0.2s;
}
.float-wa:hover { transform: translateY(-2px); }
.float-wa svg { width: 22px; height: 22px; flex-shrink: 0; }

/* --- Hero --------------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + var(--s-9)) 0 var(--s-9);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero__eyebrow { margin-bottom: var(--s-5); }
.hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: var(--s-5);
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--cinnabar);
  display: block;
}
.hero h1 .cn {
  font-family: var(--display-cn);
  display: block;
  font-size: 0.6em;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 8px;
  letter-spacing: 0.05em;
}
.hero__lede { font-size: 18px; line-height: 1.7; color: var(--ink-soft); margin-bottom: var(--s-6); }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--hair);
}
.hero__stat-num {
  font-family: var(--display-latin);
  font-size: 36px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  font-feature-settings: 'tnum' 1;
}
.hero__stat-num sup {
  font-size: 18px;
  color: var(--cinnabar);
  margin-left: 2px;
}
.hero__stat-label {
  font-size: 12px;
  color: var(--mist);
  margin-top: 6px;
  letter-spacing: 0.05em;
}
.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--ink);
  overflow: hidden;
}
.hero__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(0.15) contrast(1.05);
}
.hero__visual-caption {
  position: absolute;
  left: 24px; bottom: 24px; right: 24px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(239, 231, 213, 0.3);
}
.hero__char {
  position: absolute;
  top: -40px; right: -60px;
  font-family: var(--display-cn);
  font-size: clamp(280px, 35vw, 480px);
  font-weight: 700;
  color: var(--cinnabar);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

/* --- Process (3 steps) ------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.process__step {
  padding: var(--s-7) var(--s-5);
  border-right: 1px solid var(--ink);
  position: relative;
}
.process__step:last-child { border-right: 0; }
.process__no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cinnabar);
  letter-spacing: 0.1em;
  margin-bottom: var(--s-5);
}
.process__title {
  font-family: var(--display-cn);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: var(--s-3);
  color: var(--ink);
}
.process__title-en {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mist);
  letter-spacing: 0.15em;
  margin-bottom: var(--s-4);
  text-transform: uppercase;
}
.process__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --- Service Grid (痛症) ---------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
.service-card {
  background: var(--paper);
  padding: var(--s-6) var(--s-5);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card:hover { background: var(--paper-warm); }
.service-card__icon {
  width: 56px; height: 56px;
  margin-bottom: var(--s-5);
  color: var(--cinnabar);
}
.service-card__icon svg { width: 100%; height: 100%; stroke-width: 1.25; }
.service-card__title {
  font-family: var(--display-cn);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: var(--s-2);
  color: var(--ink);
}
.service-card__title-en {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mist);
  letter-spacing: 0.1em;
  margin-bottom: var(--s-4);
  text-transform: uppercase;
}
.service-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  flex: 1;
}
.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--s-5);
  font-size: 13px;
  color: var(--cinnabar);
  font-weight: 500;
}
.service-card__more::after {
  content: '→';
  transition: transform 0.2s;
}
.service-card:hover .service-card__more::after { transform: translateX(4px); }

/* --- Testimonials ------------------------------------------------- */

/* --- Testimonials ------------------------------------------------- */
.testimonials {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.testimonials .apothecary-bg { opacity: 0.06; }
.testimonials .section-label__title,
.testimonials .section-label__no { color: var(--paper-warm); }
.testimonials h2 {
  color: var(--paper);
  font-size: 44px;
  margin-bottom: var(--s-6);
}
.testimonials h2 em { color: var(--cinnabar-h); font-style: normal; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.testimonial {
  background: var(--ink-soft);
  padding: var(--s-6);
  position: relative;
  border: 1px solid rgba(239, 231, 213, 0.1);
}
.testimonial__quote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--paper-warm);
  margin-bottom: var(--s-5);
}
.testimonial__quote::before {
  content: '「';
  font-family: var(--display-cn);
  font-size: 40px;
  color: var(--cinnabar);
  line-height: 0;
  vertical-align: -10px;
  margin-right: 4px;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: var(--s-4);
  border-top: 1px solid rgba(239, 231, 213, 0.15);
}
.testimonial__avatar {
  width: 40px; height: 40px;
  background: var(--cinnabar);
  display: grid;
  place-items: center;
  font-family: var(--display-cn);
  color: var(--paper);
  font-size: 16px;
  font-weight: 600;
}
.testimonial__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--paper);
}
.testimonial__meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--paper-warm);
  opacity: 0.6;
  margin-top: 2px;
  letter-spacing: 0.05em;
}

/* --- Locations ---------------------------------------------------- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.location-card {
  background: var(--paper-warm);
  padding: var(--s-5);
  position: relative;
  border-top: 3px solid var(--cinnabar);
}
.location-card__flag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cinnabar);
  letter-spacing: 0.15em;
  margin-bottom: var(--s-3);
  text-transform: uppercase;
}
.location-card__name {
  font-family: var(--display-cn);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: var(--s-4);
  color: var(--ink);
}
.location-card__row {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: var(--s-3);
  line-height: 1.5;
}
.location-card__row strong {
  flex-shrink: 0;
  width: 50px;
  color: var(--mist);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 2px;
}
.location-card__map {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--ink);
  margin-top: var(--s-4);
  display: grid;
  place-items: center;
  color: var(--paper-warm);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  position: relative;
  overflow: hidden;
}

/* --- CTA Strip --------------------------------------------------- */
.cta-strip {
  background: var(--cinnabar);
  color: var(--paper);
  padding: var(--s-8) 0;
  position: relative;
  overflow: hidden;
}
.cta-strip__char {
  position: absolute;
  right: -40px; bottom: -80px;
  font-family: var(--display-cn);
  font-size: 320px;
  font-weight: 700;
  color: var(--paper);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
}
.cta-strip__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-6);
  position: relative;
  z-index: 1;
}
.cta-strip h2 {
  color: var(--paper);
  font-size: 36px;
  margin-bottom: 8px;
}
.cta-strip p { color: var(--paper-warm); font-size: 16px; }
.cta-strip .btn--ghost {
  background: var(--paper);
  color: var(--cinnabar);
  border-color: var(--paper);
}
.cta-strip .btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* --- Footer ------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-8) 0 var(--s-5);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid rgba(239, 231, 213, 0.15);
}
.footer__brand .brand { color: var(--paper); }
.footer__brand p { font-size: 14px; line-height: 1.7; color: var(--paper-warm); margin-top: var(--s-4); max-width: 36ch; }
.footer__col h4 {
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: var(--s-4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer__col ul li { margin-bottom: var(--s-2); }
.footer__col a { color: var(--paper-warm); font-size: 14px; transition: color 0.2s; }
.footer__col a:hover { color: var(--cinnabar-h); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--paper-warm);
  opacity: 0.6;
  font-family: var(--mono);
  letter-spacing: 0.05em;
}
.footer__bottom-links { display: flex; gap: 24px; }

/* --- Page Header (sub pages) ------------------------------------ */
.page-header {
  padding: calc(var(--nav-h) + var(--s-8)) 0 var(--s-7);
  border-bottom: 1px solid var(--hair);
  position: relative;
  overflow: hidden;
}
.page-header__inner { position: relative; z-index: 1; }
.page-header__crumb {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mist);
  letter-spacing: 0.15em;
  margin-bottom: var(--s-4);
  text-transform: uppercase;
}
.page-header h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 500;
  margin-bottom: var(--s-4);
  max-width: 18ch;
}
.page-header h1 em { color: var(--cinnabar); font-style: normal; }
.page-header p {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 60ch;
}
.page-header__char {
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--display-cn);
  font-size: 360px;
  font-weight: 700;
  color: var(--ink);
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* --- Form (booking) --------------------------------------------- */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
.form__group { display: flex; flex-direction: column; gap: 8px; }
.form__group--full { grid-column: 1 / -1; }
.form__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}
.form__label--required::after {
  content: '*';
  color: var(--cinnabar);
  font-size: 14px;
}
.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--hair);
  font-size: 15px;
  color: var(--ink);
  font-family: var(--body-cn);
  transition: border-color 0.2s, background 0.2s;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: 0;
  border-color: var(--cinnabar);
  background: var(--paper);
}
.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%231A1410' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form__textarea { resize: vertical; min-height: 100px; }
.form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.form__check input { margin-top: 3px; accent-color: var(--cinnabar); }
.form__check a { color: var(--cinnabar); text-decoration: underline; }
.form__time-slots {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}
.form__time {
  padding: 14px 4px;
  background: var(--white);
  border: 1px solid var(--hair);
  text-align: center;
  font-size: 13px;
  font-family: var(--mono);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.form__time:hover { border-color: var(--cinnabar); }
.form__time--active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* --- Service Detail --------------------------------------------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: center;
  padding: var(--s-7) 0;
  border-bottom: 1px solid var(--hair);
}
.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }
.service-detail__visual {
  aspect-ratio: 4/3;
  background: var(--ink);
  overflow: hidden;
  position: relative;
}
.service-detail__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(0.15) contrast(1.05);
}
.service-detail__visual--portrait img {
  object-fit: contain;
  background: var(--paper-warm);
  filter: none;
}
.service-detail__visual-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 6px 10px;
}
.service-detail__visual-logo {
  position: absolute;
  top: 16px; left: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  padding: 8px 14px 8px 8px;
  box-shadow: 0 2px 8px rgba(30, 58, 95, 0.15);
}
.service-detail__visual-logo > img {
  width: 34px;
  height: 34px;
  filter: none;
  object-fit: contain;
}
.service-detail__visual-logo-cn {
  font-family: var(--display-cn);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.05em;
  line-height: 1;
}
.service-detail__visual-logo-en {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--mist);
  letter-spacing: 0.2em;
  margin-top: 3px;
}
.service-detail__no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cinnabar);
  letter-spacing: 0.1em;
  margin-bottom: var(--s-3);
}
.service-detail h3 {
  font-size: 32px;
  margin-bottom: var(--s-3);
  line-height: 1.2;
}
.service-detail__cn {
  font-family: var(--display-cn);
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: var(--s-4);
  letter-spacing: 0.05em;
}
.service-detail__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: var(--s-5);
}
.service-detail__meta {
  display: flex;
  gap: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--hair);
  font-size: 13px;
  color: var(--ink-soft);
}
.service-detail__meta strong {
  display: block;
  color: var(--ink);
  font-family: var(--display-cn);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

/* --- Page subnav ------------------------------------------------- */
.subnav {
  border-bottom: 1px solid var(--hair);
  position: sticky;
  top: var(--nav-h);
  background: var(--paper);
  z-index: 50;
}
.subnav__inner {
  display: flex;
  gap: var(--s-6);
  padding: var(--s-3) 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.subnav__link:hover { color: var(--cinnabar); }
.subnav__link--active { color: var(--cinnabar); border-bottom-color: var(--cinnabar); }
.subnav--sticky {
  box-shadow: 0 2px 8px rgba(26, 20, 16, 0.06);
  background: var(--paper);
}

/* --- Hero Banner (full-bleed image) --------------------------- */
.hero-banner {
  position: relative;
  width: 100%;
  background: var(--paper-warm);
  overflow: hidden;
}
.hero-banner__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1866/687;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 768px) {
  .hero-banner__img { aspect-ratio: 16/10; object-position: 25% center; }
}

/* --- Urgency bar (daily slots indicator) --------------------- */
.urgency-bar {
  background: linear-gradient(90deg, var(--cinnabar) 0%, #d24a3a 100%);
  color: var(--paper);
  padding: 10px var(--s-5);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.05em;
}
.urgency-bar strong {
  font-weight: 600;
  font-family: var(--display-cn);
  font-size: 15px;
}
.urgency-bar__pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--paper);
  border-radius: 50%;
  margin-right: 8px;
  animation: urgency-pulse 1.5s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes urgency-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* Social proof counter on cards */
.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(193, 64, 41, 0.08);
  border: 1px solid rgba(193, 64, 41, 0.25);
  color: var(--cinnabar);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.social-proof::before {
  content: "🔥";
  font-size: 11px;
}

/* Store availability (per-location remaining slots) */
.store-availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(193, 64, 41, 0.06);
  border: 1px solid var(--hair);
  font-size: 12px;
  color: var(--ink);
  font-family: var(--mono);
  letter-spacing: 0.05em;
  margin-top: 8px;
}
.store-availability__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c54029;
  animation: urgency-pulse 1.5s ease-in-out infinite;
}
.store-availability strong {
  color: var(--cinnabar);
  font-family: var(--display-cn);
  font-size: 14px;
  margin: 0 2px;
}

/* --- Symptom Atlas (首頁病症百科) ---------------------------- */
.symptom-atlas__lead {
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: var(--s-6);
}
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.symptom-card {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-4);
  background: var(--paper);
  border: 1px solid var(--hair);
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}
.symptom-card:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translateY(-2px);
}
.symptom-card__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--hair);
  color: var(--cinnabar);
}
.symptom-card:hover .symptom-card__icon {
  border-color: var(--paper);
}
.symptom-card__icon svg {
  width: 22px;
  height: 22px;
}
.symptom-card__body { flex: 1; min-width: 0; }
.symptom-card__name {
  font-family: var(--display-cn);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}
.symptom-card__name-en {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.6;
  margin-bottom: 6px;
}
.symptom-card__desc {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.75;
}
.symptom-card__arrow {
  align-self: flex-start;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.2s;
}
.symptom-card:hover .symptom-card__arrow { opacity: 1; }

@media (max-width: 980px) {
  .symptom-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .symptom-grid { grid-template-columns: 1fr; }
}

/* --- Map Embed (Google Maps) ----------------------------------- */
.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--paper-warm);
  overflow: hidden;
  border: 1px solid var(--hair);
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-embed__tiles {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  background: var(--paper-warm);
}
.map-embed__tiles img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.map-embed__pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  width: 32px;
  height: 32px;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.map-embed__link {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background 0.2s;
}
.map-embed__link:hover { background: var(--cinnabar); color: var(--paper); }
.map-embed--tall { aspect-ratio: 4/3; }
.map-embed--small { aspect-ratio: 16/9; }

@media (max-width: 768px) {
  .map-embed--tall { aspect-ratio: 16/10; }
}

/* --- Promo Ribbon (slim banner above hero) ---------------------- */
.promo-ribbon {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 0;
  position: relative;
  z-index: 60;
  margin-top: var(--nav-h);
  border-bottom: 1px solid var(--cinnabar);
}
.promo-ribbon__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  font-family: var(--body-cn);
}
.promo-ribbon__price {
  font-family: var(--display-latin);
  font-size: 16px;
  font-weight: 600;
  color: var(--cinnabar);
  letter-spacing: 0.02em;
}
.promo-ribbon__sep {
  width: 4px; height: 4px;
  background: var(--cinnabar);
  border-radius: 50%;
  opacity: 0.6;
}
.promo-ribbon__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 6px 14px;
  background: var(--cinnabar);
  color: var(--paper);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}
.promo-ribbon__cta:hover { background: var(--cinnabar-h); }

/* --- Promo Highlight (full block) ------------------------------- */
.promo-highlight {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-7);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--hair);
  padding: var(--s-7) var(--s-7);
  position: relative;
  overflow: hidden;
}
.promo-highlight::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: var(--cinnabar);
  opacity: 0.06;
  border-radius: 50%;
  pointer-events: none;
}
.promo-highlight__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cinnabar);
  letter-spacing: 0.2em;
  margin-bottom: var(--s-3);
}
.promo-highlight__title {
  font-size: 32px;
  margin-bottom: var(--s-4);
  line-height: 1.2;
}
.promo-highlight__price {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.promo-highlight__price-num {
  font-family: var(--display-latin);
  font-size: 72px;
  font-weight: 500;
  color: var(--cinnabar);
  line-height: 1;
  font-feature-settings: 'tnum' 1;
}
.promo-highlight__price-original {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--mist);
  text-decoration: line-through;
}
.promo-highlight__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 48ch;
}
.promo-highlight__cta {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* --- FAQ Accordion ---------------------------------------------- */
.faq-section {
  margin-bottom: var(--s-8);
}
.faq-section:last-child { margin-bottom: 0; }
.faq-section__label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cinnabar);
  letter-spacing: 0.2em;
  margin-bottom: var(--s-3);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--hair);
}
.faq-item {
  border-bottom: 1px solid var(--hair);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-5) 0;
  cursor: pointer;
  font-family: var(--display-cn);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }
.faq-item summary:hover { color: var(--cinnabar); }
.faq-item summary::after {
  content: '+';
  font-family: var(--body-cn);
  font-size: 28px;
  font-weight: 300;
  color: var(--cinnabar);
  transition: transform 0.2s;
  margin-left: var(--s-4);
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item__body {
  padding: 0 0 var(--s-5);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 70ch;
}
.faq-item__body a { color: var(--cinnabar); text-decoration: underline; }
.faq-item__body a:hover { color: var(--lacquer); }

/* --- Legal Document (privacy / terms) -------------------------- */
.legal-doc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.legal-doc__meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cinnabar);
  letter-spacing: 0.1em;
  padding-bottom: var(--s-5);
  margin-bottom: var(--s-6);
  border-bottom: 1px solid var(--hair);
  text-transform: uppercase;
}
.legal-doc__section {
  margin-bottom: var(--s-7);
}
.legal-doc__section:last-child { margin-bottom: 0; }
.legal-doc__section h3 {
  font-size: 20px;
  margin-bottom: var(--s-4);
  color: var(--ink);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--hair);
  font-weight: 500;
}
.legal-doc__section p {
  margin-bottom: var(--s-4);
}
.legal-doc__section p:last-child { margin-bottom: 0; }
.legal-doc__section ul {
  list-style: none;
  padding: 0;
  margin-bottom: var(--s-4);
}
.legal-doc__section ul li {
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px dashed var(--hair);
}
.legal-doc__section ul li:last-child { border-bottom: 0; }
.legal-doc__section ul li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--cinnabar);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}
.legal-doc__section strong { color: var(--ink); font-weight: 500; }
.legal-doc__section a { color: var(--cinnabar); text-decoration: underline; }
.legal-doc__section a:hover { color: var(--lacquer); }

/* --- Responsive -------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --gutter: 20px; }
  .nav__links { gap: 20px; }
  .nav__link { font-size: 13px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { aspect-ratio: 16/10; max-width: 600px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) { direction: ltr; }
  .form { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --gutter: 16px; --nav-h: 64px; }
  .section { padding: var(--s-8) 0; }
  .section--wide { padding: var(--s-8) 0; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav--open .nav__links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--hair);
  }
  .process { grid-template-columns: 1fr; }
  .process__step { border-right: 0; border-bottom: 1px solid var(--ink); }
  .process__step:last-child { border-bottom: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 40px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .cta-strip__inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-strip h2 { font-size: 26px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .form__time-slots { grid-template-columns: repeat(4, 1fr); }
  .float-wa { bottom: 16px; right: 16px; padding: 12px 16px 12px 12px; font-size: 13px; }
  .float-wa span { display: none; }
  .hero__char { font-size: 240px; right: -40px; }
  .page-header__char { font-size: 200px; }
  .promo-highlight { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-5); }
  .promo-highlight__price-num { font-size: 56px; }
  .promo-highlight__title { font-size: 24px; }
  .promo-ribbon__inner { font-size: 12px; gap: 10px; }
  .promo-ribbon__price { font-size: 14px; }
  .promo-ribbon__cta { padding: 5px 10px; font-size: 11px; }
  .faq-item summary { font-size: 16px; padding: var(--s-4) 0; }
  .faq-item__body { font-size: 14px; }
  .legal-doc__section h3 { font-size: 18px; }
  }

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