:root {
  --ink: #172e30;
  --muted: #526b68;
  --paper: #faf9f5;
  --white: #fff;
  --teal: #185f59;
  --dark: #103836;
  --mint: #e7efe8;
  --coral: #f6aa85;
  --line: #d9e3db;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 16px/1.65 "Inter", system-ui, "PingFang SC", "Microsoft YaHei", sans-serif; background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #bf5329; outline-offset: 3px; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { line-height: 1.18; text-wrap: balance; }
section[id], #itinerary { scroll-margin-top: 24px; }
.section-shell, .site-header { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }

.site-header { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.brand, .nav-links, .header-actions { display: flex; align-items: center; }
.brand { gap: 11px; line-height: 1.25; }
.brand-mark { display: grid; place-items: center; flex: 0 0 39px; width: 39px; height: 39px; border-radius: 50%; background: var(--dark); color: #fff; font: 700 19px system-ui; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; }
.brand small { font-size: 11px; color: var(--muted); margin-top: 3px; }
.nav-links, .header-actions { gap: clamp(14px, 2vw, 28px); font-size: 13px; font-weight: 600; }
.nav-links a:hover, .language-switch:hover, .text-link:hover { text-decoration: underline; }
.language-switch { white-space: nowrap; }
.nav-cta { color: var(--teal); border-bottom: 1px solid currentColor; white-space: nowrap; }

.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 6vw, 86px); align-items: center; padding: 65px 0 78px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--teal); font-size: 11px; font-weight: 750; letter-spacing: .15em; margin: 0 0 16px; }
.eyebrow span { width: 21px; height: 2px; background: #ba5b39; }
h1 { font-size: clamp(40px, 5.3vw, 76px); letter-spacing: -.045em; font-weight: 760; margin-bottom: 22px; line-height: 1.03; }
h1 em { font-style: normal; color: var(--teal); }
html[lang="zh-CN"] h1 { font-size: clamp(35px, 5.1vw, 65px); line-height: 1.16; letter-spacing: -.035em; }
.hero-text { color: var(--muted); font-size: 17px; max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 6px; min-height: 46px; padding: 10px 16px; font-size: 13px; font-weight: 700; }
.button-primary { background: var(--coral); color: #242820; }
.button-primary:hover { background: #ffc4a5; }
.button-ghost { border-color: #b6c8be; color: var(--dark); }
.button-ghost:hover { background: var(--mint); }
.button-dark { background: var(--dark); color: #fff; width: 100%; }
.button-dark:hover { background: var(--teal); }

.hero-visual { isolation: isolate; position: relative; height: clamp(340px, 42vw, 485px); }
.hero-image, .visual-outline { position: absolute; inset: 0; border-radius: 18px 80px 18px 18px; }
.hero-image { overflow: hidden; background: radial-gradient(ellipse at 65% 100%, #498a80, #1e5b54 55%, #113e41); }
.hero-image::before, .travel-image::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, #faecd224 1px, transparent 1px) 0 0 / 14px 14px; }
.visual-outline { inset: 13px -13px -13px 13px; border: 1px solid #c1d3c7; z-index: -1; }
.map-land { position: absolute; inset: 0; background: linear-gradient(145deg, #78a790a0, #739f8f53); }
.map-land-west { clip-path: polygon(0 0, 57% 0, 55% 11%, 52% 19%, 48% 21%, 54% 31%, 50% 40%, 42% 42%, 42% 48%, 46% 52%, 39% 57%, 40% 64%, 35% 68%, 39% 76%, 35% 81%, 25% 81%, 28% 91%, 19% 100%, 0 100%); }
.map-land-east { clip-path: polygon(76% 0, 100% 0, 100% 77%, 96% 72%, 93% 66%, 82% 69%, 83% 65%, 78% 63%, 69% 66%, 64% 63%, 66% 58%, 62% 53%, 64% 44%, 65% 36%, 62% 27%, 66% 15%, 69% 14%); }
.map-route { position: absolute; left: 37%; top: 29%; width: 34%; height: 42%; border: 2px dashed #f6d0b1b0; border-radius: 45% 45% 8% 8%; border-bottom-color: transparent; transform: rotate(12deg); }
.map-city { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px; border: 1px solid #baebd342; border-radius: 30px; background: #123b3be8; color: #fcf4e3; font-size: 12px; letter-spacing: .01em; font-weight: 670; }
.map-city::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.map-guangzhou { top: 22%; left: 35%; }
.map-shenzhen { top: 50%; left: 63%; }
.map-zhuhai { top: 64%; left: 21%; }
.map-water { position: absolute; top: 83%; right: 8%; color: #d6e9dc; font-size: 9px; letter-spacing: .19em; }
.floating-card { position: absolute; background: var(--paper); box-shadow: 0 12px 22px #16333326; display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-radius: 8px; top: 26px; left: -18px; line-height: 1.4; }
.floating-card b, .floating-card small { display: block; }
.floating-card b { font-size: 12px; }
.floating-card small { color: var(--muted); font-size: 10px; margin-top: 2px; }
.pin { color: var(--teal); font-size: 24px; }

.trust-strip { background: var(--mint); border-block: 1px solid var(--line); }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 68px; gap: 8px 20px; padding: 12px 0; color: var(--dark); font-size: 13px; font-weight: 650; }
.trust-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-weight: 500; }
.trust-items i { width: 5px; height: 5px; background: #b96545; border-radius: 50%; }

.section-block { padding-block: 86px; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(260px, 36%); align-items: end; gap: 30px; margin-bottom: 34px; }
.section-heading h2, .contact-card h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.045em; }
.section-heading > p { color: var(--muted); font-size: 14px; }
.city-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.city-tab { position: relative; border: 0; background: none; color: var(--muted); text-align: left; padding: 9px 4px 14px; font-size: clamp(15px, 2.3vw, 20px); font-weight: 720; }
.city-tab small { display: block; font-size: 10px; letter-spacing: .09em; }
.city-tab.active { color: var(--teal); }
.city-tab.active::after { content: ""; position: absolute; inset: auto 0 -1px; height: 3px; width: 65%; background: var(--teal); }
.city-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; min-height: 130px; }
.city-overview h3 { font-size: 25px; margin-bottom: 8px; }
.city-overview p, .hospital-item p { color: var(--muted); font-size: 14px; }
.hospital-item { background: var(--white); border: 1px solid var(--line); padding: 18px 20px; border-radius: 9px; }
.hospital-item h4 { font-size: 16px; }
.hospital-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 13px; font-weight: 650; color: var(--teal); }
.hospital-links a { text-decoration: underline; text-underline-offset: 3px; }

.plans-band, .site-footer { background: var(--dark); color: #fff; }
.plans-band .eyebrow { color: #c7e0d5; }
.plans-band .eyebrow span, .contact-card .eyebrow span { background: var(--coral); }
.section-heading.light > p, .cost-note { color: #c2d8cf; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan-card { display: flex; flex-direction: column; padding: 24px; background: #f8fbf8; color: var(--ink); border-radius: 10px; }
.plan-card:nth-child(2) { background: #e2f0e8; }
.plan-card h3 { font-size: 22px; margin-bottom: 9px; }
.plan-card p, .plan-card ul, .cost-note { font-size: 14px; }
.plan-card p { color: var(--muted); }
.plan-card ul { margin: 14px 0 20px; padding: 10px 0 0 18px; border-top: 1px solid #d3e0d6; }
.plan-card .text-link { align-self: flex-start; margin-top: auto; }
.text-link { color: var(--teal); font-size: 13px; font-weight: 730; }
.text-link span { margin-left: 4px; }
.cost-note { margin-top: 16px; }

.travel-layout { display: grid; grid-template-columns: 1.6fr .9fr; align-items: stretch; gap: 16px; }
.travel-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.travel-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.travel-image { height: 115px; position: relative; overflow: hidden; background: linear-gradient(140deg, #316e67, #287c70); }
.travel-image::after { content: ""; display: block; position: absolute; inset: 22% 8% -80% 23%; border: 1px solid #d8e8c7a3; border-radius: 65% 44%; box-shadow: 0 0 0 15px #e6efcc19, 0 0 0 30px #e6efcc19, 0 0 0 45px #e6efcc19; transform: rotate(-18deg); }
.travel-card-long .travel-image { background: linear-gradient(160deg, #285753, #438365); }
.travel-card-long .travel-image::after { inset: -95% 26% 24% -10%; transform: rotate(24deg); }
.travel-content, .travel-estimator { padding: 20px; }
.travel-meta { margin: 0 0 7px; color: var(--teal); font-size: 11px; font-weight: 750; letter-spacing: .09em; }
.travel-content h3, .travel-estimator h3 { font-size: 21px; margin-bottom: 7px; }
.travel-content > p:not(.travel-meta), .travel-estimator p { color: var(--muted); font-size: 14px; margin-bottom: 11px; }
.travel-estimator { background: var(--mint); border-radius: 10px; }
.cost-breakdown { padding-left: 18px; margin: 14px 0 16px; font-size: 14px; }
.itinerary { margin-top: 27px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: clamp(16px, 3.5vw, 28px); }
.itinerary-header { display: flex; gap: 12px; justify-content: space-between; align-items: end; }
.itinerary-header .eyebrow { margin-bottom: 7px; }
.itinerary-header h3 { font-size: clamp(23px, 3vw, 30px); }
.choice-row { display: flex; gap: 6px; }
.choice-row button { white-space: nowrap; background: var(--paper); border: 1px solid #b9cec2; padding: 6px 11px; border-radius: 5px; font-size: 13px; }
.choice-row button[aria-pressed="true"] { background: var(--teal); color: white; border-color: var(--teal); }
.itinerary-city { margin-top: 14px; display: flex; align-items: center; gap: 9px; font-size: 13px; }
.itinerary-city select { background: white; border: 1px solid #b9cec2; border-radius: 5px; padding: 5px; }
.trip-days { list-style: none; margin: 14px 0; padding: 0; }
.trip-days li { display: grid; grid-template-columns: minmax(53px, 9%) 1fr; gap: 12px; font-size: 14px; padding: 8px 0; border-top: 1px solid var(--line); }
.trip-days b { color: var(--teal); }
.itinerary-note { color: var(--muted); font-size: 13px; margin-bottom: 8px; }

.contact-section { padding-bottom: 80px; }
.contact-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 70px); background: var(--teal); padding: clamp(20px, 5vw, 54px); border-radius: 13px; color: #fff; }
.contact-card .eyebrow, .contact-card p, .form-note { color: #deefe6; }
.contact-card h2 { margin-bottom: 14px; }
.contact-card p { font-size: 14px; }
.contact-email { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.contact-email a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-email button { background: transparent; border: 1px solid #b7d8c2; color: #fff; border-radius: 5px; padding: 4px 8px; font-size: 12px; }
.contact-card form { display: grid; gap: 10px; min-width: 0; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px 12px; }
.contact-card label { color: #edf8f3; font-size: 13px; }
.contact-card input, .contact-card select, .contact-card textarea { display: block; width: 100%; min-width: 0; min-height: 42px; margin-top: 4px; border: 1px solid #a0beb0; background: #fff; color: var(--ink); border-radius: 5px; padding: 8px 9px; font-size: 16px; }
.contact-card textarea { resize: vertical; }
.field-error { display: block; margin-block-start: 4px; color: #9c2c18; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.contact-card .field-error { color: #ffe2d2; }
.contact-card [aria-invalid="true"], .trip-controls [aria-invalid="true"] { box-shadow: 0 0 0 2px #c4553c; }
.contact-card .quote-summary { background: var(--dark); color: #fff; padding: 8px 10px; border-radius: 5px; }
.inquiry-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.inquiry-actions .button { flex: 1 1 auto; }
.button-copy { background: transparent; color: #fff; border-color: #b7d8c2; }
.button-copy:hover { background: var(--dark); }
.contact-card .inquiry-status:empty { display: none; }
.form-note { text-align: center; font-size: 12px; }
.inline-status { min-height: 23px; margin-top: 6px; }
.footer-inner { min-height: 77px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; color: #d7e8df; padding-block: 15px; font-size: 13px; }
.footer-brand { margin-right: auto; font-weight: 730; color: #fff; }
.footer-inner a { text-decoration: underline; }
@media (max-width: 860px) {
  .section-shell, .site-header { width: calc(100% - 46px); }
  .site-header { min-height: 72px; }
  .nav-links { display: none; }
  .hero { gap: 28px; }
  .section-block { padding-block: 66px; }
  .travel-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section-shell, .site-header { width: calc(100% - 32px); }
  .nav-cta, .brand small { display: none; }
  .hero { grid-template-columns: 1fr; padding: 42px 0 52px; }
  .hero-visual { height: 320px; }
  .visual-outline { inset: 7px -7px -7px 7px; }
  .floating-card { left: 9px; top: 12px; }
  .section-heading, .city-panel, .plan-grid, .contact-card { grid-template-columns: 1fr; gap: 14px; }
  .travel-cards { gap: 9px; }
  .travel-image { height: 84px; }
  .travel-content { padding: 11px; }
  .travel-content h3 { font-size: 17px; }
  .itinerary-header { flex-wrap: wrap; }
  .contact-section { padding-bottom: 58px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.plan-card .plan-rate { margin: 6px 0 12px; }
.plan-rate strong { color: var(--teal); font-size: 25px; line-height: 1; }
.plan-card .text-link { padding-top: 18px; }

.trip-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(154px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.trip-controls label {
  display: grid;
  gap: 4px;
  align-content: start;
  font-size: 13px;
  color: var(--muted);
}

.trip-controls input, .trip-controls select, .trip-day select {
  width: 100%;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid #b9cec2;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
}

.trip-switches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 15px; font-size: 14px; }
.trip-switches button { border: 0; background: transparent; padding: 0; }
.trip-switches input, .day-option input { accent-color: var(--teal); }
.itinerary-summary { margin-top: 16px; padding: 14px; background: var(--mint); border-radius: 8px; }
.trip-total { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: space-between; align-items: baseline; color: var(--dark); font-weight: 650; }
.trip-total strong { color: var(--teal); font-size: clamp(20px, 4vw, 27px); }
.cost-items { display: flex; flex-wrap: wrap; gap: 7px 18px; margin: 10px 0 0; }
.cost-items div { display: flex; flex-wrap: wrap; gap: 0 6px; }
.cost-items dt { color: var(--muted); }
.cost-items dd { margin: 0; font-weight: 700; }
.cost-items dt, .cost-items dd { font-size: 13px; }
.trip-days .trip-day { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 16px 0; }
.day-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.day-head select { width: min(140px, 53%); }
.day-total { margin-inline-start: auto; color: var(--teal); white-space: nowrap; }
.day-food { color: var(--muted); }
.day-food strong { color: var(--ink); }
.day-option { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: var(--muted); font-size: 13px; }
.day-option a, .budget-sources a { color: var(--teal); text-decoration: underline; }
.day-cost { margin: 0; }
.day-choice { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 9px; }
.day-choice select { width: auto; max-width: min(100%, 255px); }
.budget-sources { color: var(--muted); margin: 10px 0 16px; font-size: 13px; }
.budget-sources summary { cursor: pointer; }
#tripInInquiry a { text-decoration: underline; }

@media (max-width: 420px) {
  .trip-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .trip-controls select { font-size: 13px; }
  .day-head { gap: 5px; }
}

.package-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.tier-card { display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-align: start; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.tier-card[aria-pressed="true"] { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); background: var(--mint); }
.tier-name { font-size: 20px; font-weight: 700; }
.tier-rate { color: var(--teal); font-size: 17px; font-weight: 700; }
.tier-card small { font-size: 12px; font-weight: 500; }
.tier-includes { display: grid; gap: 5px; font-size: 13px; }
.tier-includes > span { display: list-item; margin-inline-start: 16px; }
.tier-price { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 9px; margin-top: auto; padding-top: 8px; }
.trip-builder-title { margin-top: 24px; }
.trip-formula { color: var(--muted); font-size: 13px; }

@media (max-width: 660px) {
  .package-options { grid-template-columns: 1fr; }
}

select.language-switch { max-width: min(145px, 39vw); border: 1px solid var(--line); border-radius: 6px; background: var(--paper); padding: 6px 7px; font-size: 13px; }
[dir="rtl"] .city-tab { text-align: start; }
[dir="rtl"] .city-tab.active::after { inset-inline: 0 auto; }
[dir="rtl"] .map-city, [dir="rtl"] .map-water { direction: ltr; }
[dir="rtl"] #inquiryText { text-align: start; }
