:root {
  --ink: #12211e;
  --muted: #58706b;
  --line: #d8e3df;
  --paper: #f7f8f5;
  --white: #ffffff;
  --green: #0b6b5a;
  --green-dark: #08483e;
  --teal-soft: #dcefeb;
  --gold: #b88746;
  --blue: #276b96;
  --shadow: 0 18px 50px rgba(18, 33, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(247, 248, 245, 0.92);
  border-bottom: 1px solid rgba(216, 227, 223, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 248px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: #405b56;
  font-size: 14px;
}

.nav a {
  white-space: nowrap;
}

.nav-cta,
.button,
.inquiry-form button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
}

.nav-cta,
.button.primary,
.inquiry-form button {
  background: var(--green);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #10251f;
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-visual::before {
  position: absolute;
  inset: -12% -8%;
  content: "";
  background:
    linear-gradient(135deg, rgba(9, 35, 29, 0.5), rgba(22, 61, 86, 0.3)),
    url("./assets/hero-medical-travel.jpg") center / cover no-repeat;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 24, 20, 0.94), rgba(5, 24, 20, 0.7), rgba(5, 24, 20, 0.32)),
    linear-gradient(0deg, rgba(5, 24, 20, 0.74), rgba(5, 24, 20, 0.1));
}

.bay-map {
  position: absolute;
  right: clamp(20px, 7vw, 120px);
  top: 50%;
  z-index: 1;
  width: min(560px, 46vw);
  aspect-ratio: 1.15;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 54px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.map-label {
  position: absolute;
  z-index: 3;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.map-label.hk {
  left: 17%;
  bottom: 22%;
}

.map-label.sz {
  left: 44%;
  top: 39%;
}

.map-label.gz {
  right: 14%;
  top: 20%;
}

.node {
  position: absolute;
  z-index: 4;
  width: 16px;
  height: 16px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 10px rgba(184, 135, 70, 0.18);
}

.node-hk {
  left: 24%;
  bottom: 28%;
}

.node-sz {
  left: 50%;
  top: 45%;
}

.node-gz {
  right: 21%;
  top: 27%;
}

.route {
  position: absolute;
  z-index: 2;
  height: 3px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(184, 135, 70, 0.86));
}

.route-one {
  left: 27%;
  bottom: 33%;
  width: 32%;
  transform: rotate(-24deg);
}

.route-two {
  left: 52%;
  top: 43%;
  width: 31%;
  transform: rotate(-31deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(650px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding: 96px 0 72px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 74px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.intro-band {
  padding: 24px clamp(20px, 4vw, 56px) 70px;
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.intro-grid article {
  min-height: 250px;
  padding: clamp(24px, 3vw, 38px);
  background: var(--white);
}

.intro-grid h2,
.section-heading h2,
.shenzhen-panel h2,
.services h2,
.partners h2,
.inquiry h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

.intro-grid p,
.section-heading p,
.city-card p,
.shenzhen-panel p,
.treatment-grid p,
.partner-copy p,
.inquiry p,
.insight-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.section {
  padding: 84px clamp(20px, 4vw, 56px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  margin-bottom: 34px;
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading p {
  margin-bottom: 8px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

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

.city-card {
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
}

.city-card.is-featured {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--green-dark);
  color: var(--white);
}

.city-card span {
  display: block;
  margin-bottom: 56px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.city-card h3 {
  margin-bottom: 12px;
  font-size: 25px;
}

.city-card.is-featured p {
  color: rgba(255, 255, 255, 0.76);
}

.city-card.is-featured a {
  width: fit-content;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  font-weight: 700;
}

.shenzhen {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 0;
  padding: 0 clamp(20px, 4vw, 56px) 86px;
}

.shenzhen-visual {
  position: relative;
  display: grid;
  align-content: center;
  gap: 22px;
  min-height: 640px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  padding: clamp(28px, 5vw, 64px);
  background:
    linear-gradient(145deg, rgba(8, 72, 62, 0.9), rgba(18, 52, 73, 0.82)),
    url("./assets/shenzhen-medical-stay.jpg") center / cover no-repeat;
}

.shenzhen-visual::before {
  position: absolute;
  inset: 34px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.visual-card {
  position: relative;
  z-index: 2;
  width: min(82%, 430px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.visual-card:nth-child(2) {
  justify-self: end;
}

.visual-card span,
.visual-card strong {
  display: block;
}

.visual-card span {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.visual-card strong {
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.08;
}

.visual-axis {
  position: absolute;
  left: 50%;
  top: 18%;
  bottom: 18%;
  width: 2px;
  background: linear-gradient(180deg, rgba(184, 135, 70, 0.08), rgba(184, 135, 70, 0.9), rgba(184, 135, 70, 0.08));
}

.shenzhen-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  padding: clamp(30px, 5vw, 64px);
  background: var(--white);
}

.pathway {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.pathway div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.pathway strong {
  color: var(--green-dark);
  font-size: 20px;
}

.pathway span {
  color: var(--muted);
  line-height: 1.5;
}

.notice {
  border-left: 3px solid var(--gold);
  padding: 14px 16px;
  background: #fbf5eb;
  color: #5e4d34;
  line-height: 1.5;
}

.journey-section {
  background: var(--white);
}

.journey-rail {
  display: grid;
  grid-template-columns: repeat(7, minmax(160px, 1fr));
  gap: 1px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--line);
}

.journey-card {
  min-height: 280px;
  padding: 24px;
  background: #fdfdfb;
}

.journey-card .module-index {
  display: block;
  margin-bottom: 54px;
  color: var(--gold);
  font-weight: 900;
}

.journey-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.journey-card p,
.module-card p,
.case-card p,
.support-card li {
  color: var(--muted);
  line-height: 1.62;
}

.support-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 1px;
  padding: 0 clamp(20px, 4vw, 56px) 86px;
  background: var(--paper);
}

.support-panel {
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 54px);
  background: var(--white);
}

.support-panel + .support-panel {
  border-left: 0;
}

.support-panel h2 {
  margin-bottom: 28px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
}

.support-stack {
  display: grid;
  gap: 14px;
}

.support-card {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.support-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.support-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.module-grid {
  display: grid;
  gap: 16px;
}

.module-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.module-card,
.case-card {
  overflow: hidden;
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
}

.module-card:has(.module-image),
.case-card:has(.module-image) {
  padding: 0;
}

.module-card:has(.module-image) .module-meta,
.module-card:has(.module-image) h3,
.module-card:has(.module-image) p,
.case-card:has(.module-image) .module-tag,
.case-card:has(.module-image) h3,
.case-card:has(.module-image) p {
  margin-left: 24px;
  margin-right: 24px;
}

.module-card:has(.module-image) p,
.case-card:has(.module-image) p {
  margin-bottom: 24px;
}

.module-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.module-card h3,
.case-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
}

.module-meta,
.module-tag {
  display: block;
  width: fit-content;
  margin-top: 0;
  margin-bottom: 34px;
  border: 1px solid rgba(11, 107, 90, 0.18);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.module-image + .module-meta,
.module-image + .module-tag {
  margin-top: 20px;
}

.cases-section {
  background: #fbf7ef;
}

.case-card {
  background: #fffdf8;
}

.travel-section {
  background: var(--white);
}

.doctors-section {
  background: #edf4f2;
}

.treatment-section {
  background: #edf4f2;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.treatment-grid article,
.insight-grid article,
.partner-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
}

.treatment-grid h3,
.insight-grid h3,
.partner-card h3 {
  font-size: 22px;
}

.services {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  padding: 90px clamp(20px, 4vw, 56px);
  background: var(--green-dark);
  color: var(--white);
}

.service-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.service-list div {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 82px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.service-list span {
  color: var(--gold);
  font-weight: 900;
}

.service-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
}

.partners {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  padding: 86px clamp(20px, 4vw, 56px);
  background: var(--white);
}

.partner-copy {
  max-width: 820px;
}

.partner-card {
  box-shadow: var(--shadow);
}

.partner-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

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

.insight-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.inquiry {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.9fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding: 90px clamp(20px, 4vw, 56px);
  background: #fbf7ef;
}

.inquiry-form {
  display: grid;
  gap: 16px;
  border: 1px solid #e4d8c4;
  border-radius: 8px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: #435955;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
  padding-top: 12px;
  line-height: 1.5;
}

.checkbox-line {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.checkbox-line input {
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.inquiry-form button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.form-status {
  min-height: 22px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-status[data-state="success"] {
  color: var(--green-dark);
}

.form-status[data-state="error"] {
  color: #9b332b;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 4vw, 56px);
  background: #0b1b17;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.footer strong {
  color: var(--white);
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .nav-cta {
    display: none;
  }

  .intro-grid,
  .city-grid,
  .treatment-grid,
  .insight-grid,
  .module-grid.two,
  .module-grid.three,
  .module-grid.four,
  .services,
  .partners,
  .inquiry,
  .section-heading,
  .support-strip,
  .shenzhen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .services,
  .partners,
  .inquiry,
  .section-heading,
  .support-strip,
  .shenzhen {
    grid-template-columns: 1fr;
  }

  .support-panel + .support-panel {
    border-left: 1px solid var(--line);
    border-top: 0;
  }

  .shenzhen-visual {
    min-height: 360px;
    border-radius: 8px 8px 0 0;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
  }

  .shenzhen-panel {
    border-left: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    margin: 0 auto;
  }

  .bay-map {
    right: 20px;
    width: min(430px, 76vw);
    opacity: 0.48;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .hero-content {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  h1 {
    font-size: 42px;
  }

  .bay-map {
    display: none;
  }

  .hero-actions,
  .button,
  .inquiry-form button {
    width: 100%;
  }

  .button {
    justify-content: center;
  }

  .pathway div,
  .service-list div,
  .module-grid.two,
  .module-grid.three,
  .module-grid.four {
    grid-template-columns: 1fr;
  }
}
