:root {
  --ink: #10262C;
  --jade: #1E7A61;
  --jade-dark: #17614D;
  --celadon: #CBDDD5;
  --celadon-soft: #E6EFEB;
  --ochre: #B8842E;
  --white: #FFFFFF;
  --bg: #F7F9F8;
  --muted: #4A5E64;
  --radius: 12px;
  --radius-input: 8px;
  --f-display: "Newsreader", Georgia, serif;
  --f-body: "IBM Plex Sans", system-ui, sans-serif;
  --f-hero: "Be Vietnam Pro", system-ui, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: var(--radius);
  font: 500 15px/1.2 var(--f-body); text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--jade); color: var(--white); }
.btn-primary:hover { background: var(--jade-dark); }
.btn-outline { background: transparent; color: var(--jade); border-color: var(--jade); }
.btn-outline:hover { background: var(--jade); color: var(--white); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }

.text-link { color: var(--jade); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--jade-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--celadon);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--jade); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, var(--celadon-soft), var(--bg) 70%); padding: 40px 0 56px; }
.hero-inner { display: grid; gap: 32px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--jade); margin-bottom: 14px; }
.hero h1 { font-family: var(--f-hero); font-weight: 600; font-size: 30px; line-height: 1.22; letter-spacing: -.01em; margin-bottom: 18px; }
.lead { font-size: 17px; color: var(--muted); margin-bottom: 28px; }
.hero-media img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------- Trust ---------- */
.trust { background: var(--white); padding: 40px 0; border-bottom: 1px solid var(--celadon); }
.badges { display: grid; gap: 14px; grid-template-columns: 1fr; }
.badges li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; }
.badges svg, .icon svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.badges svg { width: 26px; height: 26px; color: var(--jade); flex: none; }
.trust-note { text-align: center; font-family: var(--f-display); font-style: italic; font-size: 20px; color: var(--jade); margin: 28px 0; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stats div { background: var(--bg); border-radius: var(--radius); padding: 18px 12px; text-align: center; }
.stats dt { font-family: var(--f-hero); font-weight: 700; font-size: 28px; color: var(--jade); }
.stats dd { font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--celadon-soft); }
.section-title { font-family: var(--f-display); font-weight: 500; font-size: 30px; text-align: center; margin-bottom: 36px; }
.section-title.left { text-align: left; margin-bottom: 16px; }
.section-lead { max-width: 720px; margin: 28px auto 12px; text-align: center; color: var(--muted); }
.after-grid { margin-top: 32px; }

.grid, .grid-treat { display: grid; gap: 20px; grid-template-columns: 1fr; }
.card { background: var(--white); border: 1px solid var(--celadon); border-radius: var(--radius); padding: 26px; }
.card h3 { font-family: var(--f-display); font-weight: 500; font-size: 22px; margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; }
.icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: var(--celadon-soft); color: var(--jade); border-radius: var(--radius); margin-bottom: 16px; }
.icon svg { width: 26px; height: 26px; }
.treat p { margin-bottom: 20px; }

/* Care network */
.logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.logo-grid li {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 84px; padding: 12px; background: var(--white);
  border: 1px dashed var(--celadon); border-radius: var(--radius);
  font-family: var(--f-hero); font-weight: 600; color: var(--muted);
}

/* Pricing */
.table-wrap { background: var(--white); border: 1px solid var(--celadon); border-radius: var(--radius); overflow: hidden; }
.price-table { width: 100%; border-collapse: collapse; text-align: left; }
.price-table th, .price-table td { padding: 16px 20px; border-bottom: 1px solid var(--celadon-soft); }
.price-table thead th { background: var(--celadon); font-size: 14px; }
.price-table tbody th { font-weight: 500; }
.price-table td { color: var(--jade); font-weight: 600; white-space: nowrap; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.disclaimer { font-size: 13px; color: var(--muted); margin: 16px 0 24px; }

/* Steps */
.steps { display: grid; gap: 0; position: relative; }
.steps li { display: flex; gap: 20px; padding-bottom: 28px; position: relative; }
.steps li:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 54px; bottom: 4px; width: 2px; background: var(--celadon); }
.step-num { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--jade); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--f-hero); font-weight: 600; }
.steps h3 { font-family: var(--f-display); font-weight: 500; font-size: 22px; margin: 10px 0 6px; }
.steps p { color: var(--muted); margin: 0; }

/* Patient journeys */
.carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.quote { flex: 0 0 85%; scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-size: 19px; line-height: 1.5; }
.quote figcaption { display: flex; gap: 14px; align-items: center; font-size: 14px; line-height: 1.5; color: var(--muted); }
.quote strong { color: var(--ink); font-size: 15px; }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--celadon); color: var(--jade-dark); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.flag { display: inline-block; border-radius: 2px; vertical-align: -1px; margin-right: 4px; }
.tag { display: inline-block; margin-top: 4px; padding: 1px 10px; background: var(--celadon-soft); color: var(--jade-dark); border-radius: 20px; font-size: 12px; font-weight: 500; }

/* Destinations */
.dest { padding: 0; overflow: hidden; }
.dest h3, .dest p { padding: 0 22px; }
.dest h3 { margin-top: 20px; }
.dest p { padding-bottom: 24px; font-size: 15px; }
.dest-img { height: 170px; }
.dest-hcmc  { background: linear-gradient(135deg, #CBDDD5, #9CC5B6); }
.dest-hanoi { background: linear-gradient(135deg, #E6EFEB, #B7D3C8); }
.dest-danang{ background: linear-gradient(135deg, #D8E8E2, #A9CFE0); }
.dest-other { background: linear-gradient(135deg, #EEF3F0, #CBDDD5); }

/* About */
.about { display: grid; gap: 28px; align-items: center; }
.about img { border-radius: var(--radius); }
.about p { color: var(--muted); }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--celadon); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 500; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--jade); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Form */
.form { background: var(--white); border: 1px solid var(--celadon); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; }
.field label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 6px; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--celadon); border-radius: var(--radius-input);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--jade); }
.field .invalid { border-color: var(--ochre); }
.form-status { margin: 0; font-size: 14px; min-height: 1.4em; }
.form-status.ok { color: var(--jade); }
.form-status.err { color: var(--ochre); }
.form-note { text-align: center; font-size: 14px; color: var(--muted); margin-top: 20px; }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--celadon); padding: 48px 0 104px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 36px; width: auto; }
.footer-tagline { color: var(--muted); font-size: 14px; max-width: 320px; }
.footer-info li { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.footer-info a, .footer-col a, .footer-bottom a { text-decoration: none; color: var(--muted); }
.footer-info a:hover, .footer-col a:hover, .footer-bottom a:hover { color: var(--jade); }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: var(--radius); background: var(--celadon-soft); color: var(--jade); display: flex; align-items: center; justify-content: center; }
.social a:hover { background: var(--jade); color: var(--white); }
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-col h4 { font-family: var(--f-display); font-weight: 500; font-size: 18px; margin: 0 0 14px; }
.footer-col a { display: block; font-size: 14px; padding: 5px 0; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--celadon); display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.footer-bottom p { margin: 0; }

/* Floating contact */
.float-contact { position: fixed; right: 16px; bottom: 84px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.fc { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); text-decoration: none; }
.fc svg { width: 28px; height: 28px; }
.fc-call { background: var(--jade); }
.fc-call svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; width: 24px; height: 24px; }
.fc-zalo { background: #0068FF; font: 700 13px/1 var(--f-hero); }
.fc-wa { background: #25D366; }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  padding: 14px; text-align: center; text-decoration: none;
  background: var(--jade); color: var(--white); font-weight: 500;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* ---------- Mobile nav ---------- */
@media (max-width: 899px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--celadon);
    padding: 8px 20px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--celadon-soft); }
  .nav .nav-cta { margin-top: 16px; }
  .stats dt { font-size: 26px; }
}

/* ---------- Tablet 768+ ---------- */
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 32px; }
  .hero { padding: 64px 0 80px; }
  .hero h1 { font-size: 38px; }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 84px 0; }
  .section-title { font-size: 36px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-treat { grid-template-columns: repeat(2, 1fr); }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .quote { flex-basis: 46%; }
  .about { grid-template-columns: 1fr 1fr; gap: 48px; }
}

/* ---------- Desktop 1280+ (nav shows at 900+) ---------- */
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .grid-treat { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .treat { padding: 20px; }
  .treat h3 { font-size: 19px; }
  .treat p { font-size: 14px; }
  .treat .btn { padding: 10px 12px; font-size: 14px; }
  .badges { grid-template-columns: repeat(4, 1fr); }
  .logo-grid { grid-template-columns: repeat(6, 1fr); }
  .carousel { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .sticky-cta { display: none; }
  .float-contact { bottom: 24px; right: 24px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .site-footer { padding-bottom: 40px; }
}
@media (min-width: 1280px) {
  .hero h1 { font-size: 44px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
