/* =============================================
   WellMeet — Page-specific styles
   Supplements main.css with component styles
   specific to each page template.
   ============================================= */

/* ─────────────────────────────────────────────
   HERO SLIDESHOW
   ───────────────────────────────────────────── */
.hero-slideshow {
  position: relative;
  overflow: hidden;
  min-height: min(100vh, 58rem);
  min-height: min(100svh, 56rem);
  background: var(--warm);
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .75s cubic-bezier(.4,0,.2,1);
  z-index: 1;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* Slide backgrounds */
.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Picture element in slide background */
.slide-bg picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.slide-bg picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-bg-overlay {
  position: absolute;
  inset: 0;
}

/* Slide content */
.slide-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem var(--px) 7rem;
  max-width: 42rem;
}

@media (min-width: 768px) {
  .slide-content { padding: 8rem 2rem; max-width: 52rem; }
}

/* Slide badge */
.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 999px;
  padding: .3125rem .875rem;
  font-size: .8125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: var(--ff-sans);
}

/* Slide heading */
.slide-h1 {
  font-family: var(--ff-serif);
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.04em;
  margin-bottom: 1.25rem;
}

.slide-h1 .hl { color: var(--blue-500); font-style: italic; }
.slide-h1.on-dark { color: #fff; }
.slide-h1.on-dark .hl { color: var(--blue-200); }
.slide-h1.on-light { color: var(--ink); }

/* Text legibility over photo backgrounds */
.slide-h1.on-dark {
  text-shadow: 0 2px 24px rgba(0,0,0,.4), 0 1px 6px rgba(0,0,0,.25);
}
.slide-h1.on-light {
  text-shadow: 0 2px 16px rgba(255,255,255,.7);
}
.slide-subtitle.on-dark {
  text-shadow: 0 1px 10px rgba(0,0,0,.3);
}
.slide-subtitle.on-light {
  text-shadow: 0 1px 8px rgba(255,255,255,.65);
}

/* Slide subtitle */
.slide-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 34rem;
}
.slide-subtitle.on-dark { color: rgba(255,255,255,.8); }
.slide-subtitle.on-light { color: var(--ink-60); }
.slide-subtitle strong.on-dark { color: #fff; font-weight: 600; }

/* Slide CTA row */
.slide-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Slide dots */
.slideshow-controls {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: .625rem;
  align-items: center;
}

.slide-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: rgba(0,120,212,.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .25s var(--ease);
}

.slide-dot.is-active {
  background: var(--blue-500);
  width: 1.625rem;
  border-radius: 999px;
}

/* Slide arrows */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all .2s var(--ease);
  color: var(--ink);
}
.slide-arrow:hover { background: #fff; box-shadow: var(--shadow-md); }
.slide-arrow svg { width: 1.25rem; height: 1.25rem; }
.slide-arrow-prev { left: 1.5rem; }
.slide-arrow-next { right: 1.5rem; }

@media (max-width: 767px) { .slide-arrow { display: none; } }

/* Slide stats strip (bottom of slide) */
.slide-stats-strip {
  position: absolute;
  bottom: 4.5rem;
  left: var(--px);
  right: var(--px);
  z-index: 5;
  max-width: 44rem;
}
@media (min-width: 768px) {
  .slide-stats-strip { bottom: 3rem; left: 2rem; right: auto; }
}

.slide-stats-inner {
  display: inline-flex;
  gap: 0;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border-radius: .75rem;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.slide-stat-item { padding: 1rem 1.5rem; }
.slide-stat-item + .slide-stat-item { border-left: 1px solid var(--rule); }
.slide-stat-val {
  font-family: var(--ff-serif);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--ink);
  line-height: 1;
  display: block;
}
.slide-stat-lbl { font-size: .75rem; color: var(--ink-60); margin-top: .25rem; display: block; }

@media (max-width: 500px) {
  .slide-stats-inner { flex-direction: column; }
  .slide-stat-item + .slide-stat-item { border-left: none; border-top: 1px solid var(--rule); }
}

/* ─────────────────────────────────────────────
   WHY CHINA — page-specific
   ───────────────────────────────────────────── */

/* Stats headline strip */
.wc-stats-strip {
  background: var(--ink);
  color: rgba(255,255,255,.9);
  padding: 1.25rem 0;
  overflow: hidden;
}

.wc-stats-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.wc-stat-pill {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .5rem 1.5rem;
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
}

.wc-stat-pill + .wc-stat-pill {
  border-left: 1px solid rgba(255,255,255,.12);
}

.wc-stat-pill-val {
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-400);
  line-height: 1;
  /* 数值使用英文字体保持精确感 */
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
}

@media (max-width: 767px) {
  .wc-stats-inner { flex-direction: column; align-items: center; }
  .wc-stat-pill + .wc-stat-pill { border-left: none; border-top: 1px solid rgba(255,255,255,.12); }
}

/* Grade 3A feature grid */
.grade3a-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grade3a-grid { grid-template-columns: repeat(2, 1fr); } }

.grade3a-card {
  background: var(--paper);
  border-radius: .75rem;
  border: 1px solid var(--rule);
  padding: 1.75rem;
  display: flex;
  gap: 1.125rem;
  align-items: flex-start;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s var(--ease);
}
.grade3a-card:hover { box-shadow: var(--shadow-md); }

.grade3a-num {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .625rem;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.grade3a-body {}
.grade3a-title { font-weight: 600; color: var(--ink); margin-bottom: .375rem; font-size: 1rem; }
.grade3a-desc  { font-size: .875rem; color: var(--ink-60); line-height: 1.65; margin: 0; }

/* Speed comparison */
.speed-compare {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .speed-compare { grid-template-columns: repeat(2, 1fr); } }

.speed-col {
  border-radius: .75rem;
  padding: 1.75rem;
  border: 1.5px solid transparent;
}

.speed-col-china {
  background: var(--blue-50);
  border-color: var(--blue-200);
}

.speed-col-west {
  background: var(--rule-lt);
  border-color: var(--rule);
}

.speed-col-label {
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.speed-col-china .speed-col-label { color: var(--blue-700); }
.speed-col-west .speed-col-label  { color: var(--ink-60); }

.speed-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .625rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: .9375rem;
}
.speed-item:last-child { border-bottom: none; }

.speed-icon { flex-shrink: 0; width: 1.25rem; height: 1.25rem; margin-top: .1rem; }

/* Cost savings table */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
}
.cost-table thead tr {
  background: var(--ink);
  color: rgba(255,255,255,.9);
}
.cost-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cost-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--rule-lt);
  vertical-align: middle;
}
.cost-table tr:last-child td { border-bottom: none; }
.cost-table tr:hover td { background: var(--rule-lt); }
.cost-td-name { font-weight: 600; color: var(--ink); }
.cost-td-china { color: var(--blue-700); font-weight: 700; }
.cost-td-saving { text-align: center; }

/* Differentiator 3-col */
.diff-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .diff-grid { grid-template-columns: repeat(3, 1fr); } }

.diff-card {
  background: var(--paper);
  border-radius: .75rem;
  border: 1px solid var(--rule);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: all .2s var(--ease);
}
.diff-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.diff-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.diff-icon svg { width: 1.625rem; height: 1.625rem; }

.diff-title { font-family: var(--ff-serif); font-weight: 600; font-size: 1.125rem; margin-bottom: .625rem; color: var(--ink); }
.diff-desc  { font-size: .875rem; color: var(--ink-60); line-height: 1.7; margin: 0; }

/* ─────────────────────────────────────────────
   WHY US — page-specific
   ───────────────────────────────────────────── */

/* Zero markup promise block */
.promise-block {
  background: var(--ink);
  color: var(--paper);
  border-radius: 1rem;
  padding: 3rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .promise-block { grid-template-columns: 1fr 1fr; }
}

.promise-block h2 { color: var(--paper); margin-bottom: .875rem; }
.promise-block p  { color: rgba(255,255,255,.7); line-height: 1.75; }

.promise-visual {
  background: rgba(255,255,255,.07);
  border-radius: .75rem;
  padding: 1.75rem;
  border: 1px solid rgba(255,255,255,.12);
}

.promise-row {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: .875rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .9375rem;
}
.promise-row:last-child { border-bottom: none; }
.promise-check { width: 1.125rem; height: 1.125rem; color: var(--green-400); flex-shrink: 0; margin-top: .15rem; }
.promise-row-text { color: rgba(255,255,255,.85); }
.promise-row-text strong { color: #fff; font-weight: 600; }

/* Expert features grid */
.expert-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .expert-grid { grid-template-columns: repeat(2, 1fr); } }

.expert-card {
  background: var(--paper);
  border-radius: .75rem;
  border: 1px solid var(--rule);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: all .2s var(--ease);
}
.expert-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.expert-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: .75rem;
  background: var(--green-50);
  color: var(--green-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.expert-card-icon svg { width: 1.375rem; height: 1.375rem; }
.expert-card-title { font-weight: 600; color: var(--ink); margin-bottom: .5rem; font-size: 1rem; }
.expert-card-desc  { font-size: .875rem; color: var(--ink-60); line-height: 1.65; margin: 0; }

/* Services covered grid */
.covered-grid {
  display: grid;
  gap: .875rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .covered-grid { grid-template-columns: repeat(3, 1fr); } }

.covered-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1rem;
  background: var(--paper);
  border-radius: .625rem;
  border: 1px solid var(--rule);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.covered-item svg { width: 1rem; height: 1rem; color: var(--green-500); flex-shrink: 0; }

/* Trust 3-col */
.trust3-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .trust3-grid { grid-template-columns: repeat(3, 1fr); } }

.trust3-card {
  background: var(--paper);
  border-radius: .75rem;
  border: 1px solid var(--rule);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.trust3-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.trust3-icon svg { width: 1.625rem; height: 1.625rem; }
.trust3-title { font-weight: 600; font-size: 1.0625rem; color: var(--ink); margin-bottom: .5rem; }
.trust3-desc  { font-size: .875rem; color: var(--ink-60); line-height: 1.65; margin: 0; }

/* ─────────────────────────────────────────────
   WHAT WE OFFER — page-specific
   ───────────────────────────────────────────── */

/* ─────────────────────────────────────────────
   STEP TIMELINE — What We Offer page
   ───────────────────────────────────────────── */
.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.steps-timeline::before {
  content: '';
  position: absolute;
  left: 1.375rem;
  top: 2.5rem;
  bottom: 2.5rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--blue-200), transparent);
}
[dir="rtl"] .steps-timeline::before { left: auto; right: 1.375rem; }

.step-timeline-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule-lt);
  position: relative;
}
.step-timeline-item:last-child { border-bottom: none; }

.step-timeline-num {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: .9375rem;
  flex-shrink: 0;
  z-index: 1;
  position: relative;
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--blue-200);
}

.step-timeline-title {
  font-family: var(--ff-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .375rem;
}
:lang(zh) .step-timeline-title, :lang(ja) .step-timeline-title, :lang(ko) .step-timeline-title {
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
}

.step-timeline-desc {
  font-size: .9375rem;
  color: var(--ink-60);
  line-height: 1.72;
  margin-bottom: .875rem;
}

.step-timeline-extra {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
}

/* Service model comparison */
.model-table-wrap {
  border: 1px solid var(--rule);
  border-radius: .75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.model-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.model-table thead { background: var(--ink); color: #fff; }
.model-table th {
  padding: 1.125rem 1.25rem;
  text-align: left;
  font-size: .875rem;
  font-weight: 600;
}
.model-table td { padding: .875rem 1.25rem; border-bottom: 1px solid var(--rule-lt); }
.model-table tr:last-child td { border-bottom: none; }
.model-table .col-feature { font-weight: 600; color: var(--ink); }
.model-table .col-yes { color: var(--green-500); font-weight: 600; }
.model-table .col-no  { color: var(--ink-60); }
.model-table .col-highlight { background: var(--blue-50); }

/* ─────────────────────────────────────────────
   CONTACT PAGE
   ───────────────────────────────────────────── */

.contact-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1.1fr .9fr; } }

.contact-form-wrap {
  background: var(--paper);
  border-radius: .75rem;
  border: 1px solid var(--rule);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-field {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .375rem;
}
.form-label span { color: var(--blue-600); }
.form-input,
.form-select,
.form-textarea {
  display: block;
  width: 100%;
  padding: .75rem 1rem;
  border-radius: .375rem;
  border: 1.5px solid var(--rule);
  font-family: var(--ff-sans);
  font-size: .9375rem;
  color: var(--ink);
  background: var(--warm);
  outline: none;
  transition: border-color .2s var(--ease);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--blue-500); background: var(--paper); }
.form-textarea { resize: vertical; min-height: 8rem; }
.form-select { cursor: pointer; }
.form-hint { font-size: .8125rem; color: var(--ink-60); margin-top: .375rem; }
.form-success {
  background: var(--green-50);
  border: 1px solid var(--green-400);
  border-radius: .5rem;
  padding: 1.25rem 1.5rem;
  color: var(--green-700);
  display: none;
  margin-top: 1rem;
}
.form-error { color: var(--error); font-size: .875rem; margin-top: .375rem; }

.contact-info-card {
  background: var(--paper);
  border-radius: .75rem;
  border: 1px solid var(--rule);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--rule-lt);
}
.contact-method:last-child { border-bottom: none; }
.contact-method-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .625rem;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-method-icon svg { width: 1.125rem; height: 1.125rem; }
.contact-method-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-60); margin-bottom: .25rem; }
.contact-method-value { font-weight: 600; color: var(--ink); font-size: .9375rem; }
.contact-method-value a { color: var(--blue-600); }

/* Office locations */
.office-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 1.5rem;
}

.office-card {
  background: var(--rule-lt);
  border-radius: .625rem;
  padding: 1.125rem;
}
.office-city { font-weight: 700; font-size: .875rem; color: var(--ink); margin-bottom: .25rem; }
.office-addr { font-size: .8125rem; color: var(--ink-60); line-height: 1.5; }

/* ─────────────────────────────────────────────
   404 PAGE
   ───────────────────────────────────────────── */
.error-404-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm);
}

.error-404-inner {
  text-align: center;
  max-width: 32rem;
  padding: 4rem var(--px);
}

.error-404-code {
  font-family: var(--ff-serif);
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.06em;
  color: var(--blue-100);
  display: block;
  margin-bottom: .5rem;
}

/* ─────────────────────────────────────────────
   CTA BAND — global call to action
   ───────────────────────────────────────────── */
.cta-band {
  background: var(--blue-700);
  color: #fff;
  padding: 4rem 0;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.625rem, 3.5vw, 2.5rem);
  text-shadow: 0 1px 8px rgba(0,0,0,.2);
  margin-bottom: .75rem;
}
.cta-band p {
  color: rgba(255,255,255,.82);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  max-width: 38rem;
}
.cta-band-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--blue-700);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.cta-band .btn-primary:hover { background: var(--blue-50); color: var(--blue-800); }
.cta-band .btn-ghost {
  border-color: rgba(255,255,255,.45);
}

/* CTA band 多语言对齐 */
:lang(zh) .cta-band h2, :lang(ja) .cta-band h2, :lang(ko) .cta-band h2 {
  letter-spacing: 0.03em; line-height: 1.35;
}
:lang(ar) .cta-band { text-align: right; direction: rtl; }
:lang(ar) .cta-band-btns { justify-content: flex-end; }

/* ─────────────────────────────────────────────
   PAGE HERO — with photo background
   ───────────────────────────────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 20rem;
  display: flex;
  align-items: center;
}

.page-hero picture {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  padding: 5rem var(--px);
  text-align: center;
}

/* Text in page hero - always light text (dark image) */
.page-hero h1 {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.45), 0 1px 6px rgba(0,0,0,.25);
  font-size: clamp(1.875rem, 4.5vw, 3.25rem);
  margin-bottom: 1rem;
}
.page-hero p {
  color: rgba(255,255,255,.88);
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.7;
}
.page-hero .pill-white {
  background: rgba(255,255,255,.18);
  color: #fff;
  border-color: rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
}

/* CJK page hero text */
:lang(zh) .page-hero h1, :lang(ja) .page-hero h1, :lang(ko) .page-hero h1 {
  line-height: 1.35;
  letter-spacing: 0.04em;
}
:lang(ar) .page-hero h1 { letter-spacing: 0; direction: rtl; }
:lang(ar) .page-hero p  { direction: rtl; text-align: center; }

/* ─────────────────────────────────────────────
   COMPARE TABLE — Why Us page
   ───────────────────────────────────────────── */
.compare-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.compare-tbl th {
  background: var(--ink);
  color: rgba(255,255,255,.85);
  padding: .875rem 1.25rem;
  text-align: left;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.compare-tbl th:first-child { border-radius: 0; }
.compare-tbl td {
  padding: .875rem 1.25rem;
  border-bottom: 1px solid var(--rule-lt);
  vertical-align: middle;
}
.compare-tbl tr:last-child td { border-bottom: none; }
.compare-tbl tr:hover td { background: var(--rule-lt); }
.compare-tbl td.col-feature { font-weight: 500; color: var(--ink); }
.compare-tbl td.col-yes { color: var(--success); font-weight: 600; }
.compare-tbl td.col-no  { color: var(--ink-60); }
.compare-tbl .wm { color: var(--success); font-weight: 600; }
.compare-tbl .other { color: var(--ink-60); }

:lang(zh) .compare-tbl td, :lang(ja) .compare-tbl td { font-size: .875rem; }
:lang(ar) .compare-tbl { direction: rtl; }
:lang(ar) .compare-tbl th, :lang(ar) .compare-tbl td { text-align: right; }

/* ─────────────────────────────────────────────
   HOSPITAL BADGES — Hospitals page
   ───────────────────────────────────────────── */
.hosp-badge-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* ─────────────────────────────────────────────
   RTL overrides
   ───────────────────────────────────────────── */
[dir="rtl"] .slide-content { text-align: right; }
[dir="rtl"] .speed-col-label { justify-content: flex-end; }
[dir="rtl"] .promise-row { direction: rtl; }
[dir="rtl"] .covered-item { direction: rtl; }
[dir="rtl"] .contact-method { direction: rtl; }
[dir="rtl"] .grade3a-card { direction: rtl; }

/* 确保 FAQ 在各语言下排版正常 */
:lang(zh) .faq-q span, :lang(ja) .faq-q span { letter-spacing: 0.02em; }
:lang(ar) .faq-q { flex-direction: row-reverse; text-align: right; }
:lang(ar) .faq-a { text-align: right; direction: rtl; }
:lang(ar) .faq-item { direction: rtl; }

/* ─────────────────────────────────────────────
   PLANNING GUIDE — detail page utilities
   ───────────────────────────────────────────── */

/* Two-column responsive grid */
.grid-2 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

/* Checklist (used in guide sections) */
.checklist {
  list-style: none;
  padding: 0;
  margin: .75rem 0 0;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .3rem 0;
  font-size: .875rem;
  color: var(--ink-60);
  line-height: 1.65;
}
.checklist li::before {
  content: '✓';
  color: var(--green-500);
  font-weight: 700;
  flex-shrink: 0;
  font-size: .8125rem;
  margin-top: .1em;
}
:lang(ar) .checklist li { flex-direction: row-reverse; }
:lang(ar) .checklist li::before { content: '✓'; }

/* Info-box celadon variant */
.info-box.celadon {
  background: var(--green-50);
  border-left-color: var(--green-400);
}

/* Guide section title in detail view */
.guide-section-h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.625rem, 3.5vw, 2.375rem);
  font-weight: 700;
  letter-spacing: -.032em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--rule);
}
:lang(zh) .guide-section-h2, :lang(ja) .guide-section-h2, :lang(ko) .guide-section-h2 {
  font-family: var(--ff-zh);
  letter-spacing: 0.02em;
  line-height: 1.4;
}
:lang(ar) .guide-section-h2 { letter-spacing: 0; }

/* Guide card (used inside detail sections) */
.guide-card {
  background: var(--paper);
  border-radius: .75rem;
  border: 1px solid var(--rule);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
}

/* Overview card grid */
.guide-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 480px)  { .guide-overview-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1200px) { .guide-overview-grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
/* 10 cards: mobile=1col, tablet=2col(5 rows), wide=5col(2 rows) */

/* Overview card */
.guide-overview-card {
  background: var(--paper);
  border-radius: .875rem;
  border: 1px solid var(--rule);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.guide-overview-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.guide-overview-card-img {
  position: relative;
  height: 9rem;
  overflow: hidden;
  flex-shrink: 0;
}
@media (min-width: 1200px) {
  .guide-overview-card-img { height: 8rem; }
}
.guide-overview-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.guide-overview-card-num {
  position: absolute;
  top: .875rem;
  left: .875rem;
  background: var(--blue-600);
  color: #fff;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: .9375rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  z-index: 1;
}
.guide-overview-card-mins {
  position: absolute;
  top: .875rem;
  right: .875rem;
  background: rgba(0,0,0,.55);
  color: rgba(255,255,255,.92);
  font-size: .7rem;
  font-weight: 600;
  padding: .2rem .5rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.guide-overview-card-body {
  padding: 1.375rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.guide-overview-card-title {
  font-family: var(--ff-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
  /* Clamp to 3 lines without breaking flex */
  overflow: hidden;
  max-height: calc(1.3em * 3);
}
@media (min-width: 1200px) {
  .guide-overview-card-title { font-size: .9375rem; max-height: calc(1.3em * 4); }
}
:lang(zh) .guide-overview-card-title, :lang(ja) .guide-overview-card-title, :lang(ko) .guide-overview-card-title {
  font-family: var(--ff-zh);
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.guide-overview-card-intro {
  font-size: .875rem;
  color: var(--ink-60);
  line-height: 1.65;
  margin: 0;
  flex: 1;
  overflow: hidden;
  max-height: calc(1.65em * 3);
}
@media (min-width: 1200px) {
  .guide-overview-card-intro { display: none; }
  /* At 5-col, body is too narrow for intro text — hide it */
}

/* Detail nav bar */
.guide-detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2.5rem;
}
.guide-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--ink-60);
}
.guide-breadcrumb a {
  color: var(--blue-600);
  font-weight: 500;
  text-decoration: none;
}
.guide-breadcrumb a:hover { text-decoration: underline; }
.guide-breadcrumb-sep { color: var(--rule); margin: 0 .125rem; }

/* Progress bar */
.guide-progress {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .8125rem;
  color: var(--ink-60);
}
.guide-progress-track {
  width: 7rem;
  height: .375rem;
  background: var(--rule);
  border-radius: 999px;
  overflow: hidden;
}
.guide-progress-fill {
  height: 100%;
  background: var(--blue-500);
  border-radius: 999px;
  transition: width .4s var(--ease);
}

/* Detail prev/next nav */
.guide-pager {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.guide-pager-btn {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .875rem 1.25rem;
  border-radius: .5rem;
  border: 1.5px solid var(--rule);
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
  transition: all .2s var(--ease);
  max-width: 48%;
}
.guide-pager-btn:hover { border-color: var(--blue-400); box-shadow: var(--shadow-sm); color: var(--ink); }
.guide-pager-btn-label {
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-60);
  display: block;
  margin-bottom: .2rem;
}
.guide-pager-btn-title {
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.3;
  display: block;
}
.guide-pager-next {
  margin-left: auto;
  text-align: right;
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}
.guide-pager-next:hover { background: var(--blue-800); border-color: var(--blue-800); color: #fff; }
.guide-pager-next .guide-pager-btn-label { color: rgba(255,255,255,.7); }
@media (max-width: 640px) {
  .guide-pager-btn { max-width: 100%; }
}

/* ─────────────────────────────────────────────
   PLANNING GUIDE — detail page enrichment
   ───────────────────────────────────────────── */

/* Section feature image — compact, not full duplicate of hero */
.guide-section-img {
  width: 100%;
  border-radius: .75rem;
  overflow: hidden;
  margin: 0 0 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 14rem;
}
.guide-section-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* Key facts callout — always 4 cols, compact */
.guide-key-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin: 1.25rem 0 1.75rem;
  padding: 1.125rem 1.25rem;
  background: var(--blue-50);
  border-radius: .75rem;
  border: 1px solid var(--blue-100);
}
@media (max-width: 520px) {
  .guide-key-facts { grid-template-columns: repeat(2, 1fr); }
}
.guide-key-fact-item {
  text-align: center;
  padding: .625rem .375rem;
}
.guide-key-fact-val {
  font-family: var(--ff-serif);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--blue-700);
  line-height: 1;
  display: block;
  margin-bottom: .3rem;
  word-break: break-word;
}
@media (max-width: 640px) {
  .guide-key-fact-val { font-size: 1.125rem; }
}
.guide-key-fact-lbl {
  font-size: .75rem;
  color: var(--ink-60);
  line-height: 1.4;
}

/* Tip / insight pull quote */
.guide-tip {
  border-left: 4px solid var(--amber);
  background: var(--amber-bg);
  border-radius: 0 .625rem .625rem 0;
  padding: 1.125rem 1.375rem;
  margin: 1.5rem 0;
  font-size: .9375rem;
  color: var(--ink-60);
  line-height: 1.7;
}
.guide-tip strong { color: var(--amber-dk); }

/* Section related strip */
.guide-related {
  background: var(--warm);
  border-radius: .75rem;
  border: 1px solid var(--rule);
  padding: 1.5rem;
  margin-top: 2.5rem;
}
.guide-related-title {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 1rem;
}
.guide-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.guide-related-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .875rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: .5rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--blue-600);
  text-decoration: none;
  transition: all .15s var(--ease);
}
.guide-related-link:hover {
  background: var(--blue-50);
  border-color: var(--blue-200);
  color: var(--blue-700);
}

/* Overview meta row fix */
.guide-overview-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 0 1.75rem;
  border-bottom: 2px solid var(--rule);
  margin-bottom: 2rem;
}
.guide-overview-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-left: auto;
  font-size: .8125rem;
  color: var(--ink-60);
}
.guide-overview-meta-badge {
  display: flex;
  align-items: center;
  gap: .375rem;
}

/* Make card titles line-clamp on small — REMOVED (fixed above) */
