:root {
  --ink: #19222b;
  --muted: #62717f;
  --line: #dfe6ec;
  --soft: #f4f7f9;
  --panel: #ffffff;
  --brand: #0e8f7e;
  --brand-dark: #07695e;
  --accent: #f08a3c;
  --shadow: 0 18px 45px rgba(25, 34, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.1rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: var(--brand);
  border-radius: 8px;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.city-button,
.login-button,
.search-row button,
.hero-book-button,
.card-footer button,
.pro-band button,
.provider-cta,
.store-buttons button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 16px;
}

.login-button,
.search-row button,
.hero-book-button,
.pro-band button,
.provider-cta,
.store-buttons button:first-child {
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 90px 6vw 120px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 42%, rgba(255, 255, 255, 0.25) 100%);
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 11vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 520px;
  margin: 24px 0 28px;
  color: #344451;
  font-size: 1.2rem;
}

.hero-copy.chinese-copy {
  margin-top: -14px;
  color: var(--muted);
  font-size: 1rem;
}

.search-panel {
  width: min(590px, 100%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.search-panel label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.search-panel label span,
.booking-form label span {
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-row input {
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #ffffff;
}

.hero-book-button {
  margin-top: 14px;
  min-width: 150px;
}

section {
  padding: 76px 6vw;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 28px;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-note {
  width: min(360px, 100%);
  margin: 0;
  color: var(--muted);
}

.section-subtitle {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.quick-categories {
  padding-top: 38px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.category-card {
  min-height: 108px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.category-card span {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
}

.category-card small {
  color: var(--muted);
}

.category-card:hover,
.category-card.active {
  transform: translateY(-3px);
  border-color: rgba(14, 143, 126, 0.45);
  background: #eefaf7;
}

.service-section {
  background: var(--soft);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.service-card[hidden] {
  display: none;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.tag {
  width: fit-content;
  margin: 0 0 10px;
  border-radius: 8px;
  background: #fff1e8;
  color: #a84f18;
  padding: 5px 9px;
  font-size: 0.78rem;
  font-weight: 800;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.28rem;
  letter-spacing: 0;
}

.service-card p:not(.tag) {
  margin: 0;
  color: var(--muted);
}

.service-card .zh-note,
.trust-grid .zh-note {
  margin-top: 8px;
  color: #45606d;
  font-size: 0.92rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}

.card-footer strong {
  font-size: 1.05rem;
}

.card-footer button {
  min-width: 90px;
}

.pro-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 76px 6vw;
  padding: 42px;
  border-radius: 8px;
  background: #18323b;
  color: #ffffff;
}

.pro-band p {
  max-width: 650px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.chinese-copy {
  line-height: 1.65;
}

.pro-band .chinese-copy {
  color: rgba(255, 255, 255, 0.82);
}

.pro-band .eyebrow {
  color: #7ee0cf;
}

.pro-band button,
.provider-cta {
  flex: 0 0 auto;
  border-color: #ffffff;
  background: #ffffff;
  color: #18323b;
}

.provider-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.provider-section {
  background: #ffffff;
}

.provider-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.provider-checklist {
  display: grid;
  gap: 14px;
}

.provider-checklist article,
.provider-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(25, 34, 43, 0.06);
}

.provider-checklist article {
  padding: 22px;
}

.provider-checklist strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.provider-checklist p {
  margin: 0;
  color: var(--muted);
}

.provider-form {
  padding: 26px;
}

.app-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.phone-preview {
  width: min(330px, 100%);
  min-height: 520px;
  margin-inline: auto;
  padding: 28px 22px;
  border: 10px solid #202a33;
  border-radius: 34px;
  background: #eefaf7;
  box-shadow: var(--shadow);
}

.phone-top {
  width: 92px;
  height: 8px;
  margin: 0 auto 58px;
  border-radius: 20px;
  background: #202a33;
}

.phone-card {
  border: 1px solid rgba(14, 143, 126, 0.22);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  margin-bottom: 14px;
}

.phone-card span {
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.phone-card strong {
  display: block;
  margin-top: 8px;
}

.phone-card p {
  margin: 5px 0 0;
  color: var(--muted);
}

.phone-card.muted {
  opacity: 0.72;
}

.app-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.1rem;
}

.app-copy .chinese-copy,
.site-footer .chinese-copy {
  font-size: 1rem;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.trust-section {
  background: var(--soft);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.trust-grid article {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 24px;
}

.trust-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.trust-grid p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  padding: 46px 6vw;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 12px;
}

.site-footer p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--brand-dark);
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.booking-modal.open {
  display: flex;
}

.booking-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 34, 43, 0.56);
}

.booking-dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: min(760px, 92vh);
  overflow: auto;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 34px;
}

.close-button {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
}

.booking-dialog h2 {
  max-width: 520px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.booking-intro {
  margin: 12px 0 24px;
  color: var(--muted);
}

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

.booking-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.hidden-field {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 12px 13px;
}

.booking-form input,
.booking-form select {
  min-height: 46px;
}

.booking-form textarea {
  resize: vertical;
}

.submit-booking {
  min-height: 48px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  padding: 0 18px;
  font-weight: 800;
}

.submit-booking:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-success {
  margin: 0;
  border-radius: 8px;
  background: #eefaf7;
  color: var(--brand-dark);
  padding: 12px 14px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    padding-block: 14px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

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

  .section-heading.split,
  .pro-band,
  .app-section,
  .provider-layout,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .header-actions {
    width: 100%;
  }

  .city-button,
  .login-button {
    flex: 1;
  }

  .nav-links {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 590px;
    padding-top: 70px;
  }

  .hero-media::after {
    background: rgba(255, 255, 255, 0.86);
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .service-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 88px;
  }

  .pro-band {
    margin: 48px 6vw;
    padding: 28px;
  }

  .booking-dialog {
    padding: 26px 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  section {
    padding: 56px 6vw;
  }
}
