/* NT Kids Clinic — international hospital language, clinic palette */
:root {
  --teal: #4ea8a0;
  --teal-deep: #1d5753;
  --teal-mid: #2f7f79;
  --peach: #e89a78;
  --peach-deep: #d47a55;
  --cream: #f6f1ea;
  --sand: #efe6db;
  --ink: #1c2a28;
  --muted: #5c6b68;
  --line: rgba(29, 87, 83, 0.12);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(29, 87, 83, 0.10);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Noto Sans Khmer", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.serif { font-family: "Cormorant Garamond", "Noto Serif Khmer", Georgia, serif; }
.muted { color: var(--muted); }
.kicker {
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-mid);
}

/* Utility bar — Bumrungrad top strip */
.util {
  background: var(--teal-deep);
  color: #d7eeeb;
  font-size: 13px;
}
.util .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 38px;
}
.util a:hover { color: var(--peach); }
.util-right { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.util-right a i { margin-right: 6px; }
.lang button {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font-weight: 600;
}
.lang button.is-on { color: var(--peach); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}
.brand img { height: 58px; width: auto; }
.brand-name { font-weight: 800; letter-spacing: .04em; color: var(--teal-deep); line-height: 1.15; font-size: 14px; }
.brand-name small { display: block; font-weight: 500; color: var(--muted); letter-spacing: 0; font-size: 11px; }
.menu {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-deep);
}
.menu a:hover { color: var(--peach-deep); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  transition: .2s transform, .2s background;
}
.btn:hover { transform: translateY(-1px); }
.btn-peach { background: var(--peach); color: #3b2116; }
.btn-teal { background: var(--teal-deep); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--teal-deep); }
.nav-toggle { display: none; background: none; border: 0; font-size: 22px; color: var(--teal-deep); }

/* Hero */
.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,48,46,.78) 0%, rgba(20,48,46,.28) 55%, rgba(20,48,46,.12) 100%);
}
.hero-copy { position: relative; z-index: 1; padding: 8rem 0 9rem; max-width: 680px; }
.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.05;
  margin: 12px 0 18px;
  font-weight: 500;
}
.hero p.lede { font-size: 18px; max-width: 520px; color: #e8f3f1; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Quick actions — Bumrungrad 4-up */
.quick {
  position: relative;
  z-index: 2;
  margin-top: -70px;
  padding-bottom: 20px;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.qcard {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  min-height: 132px;
}
.qcard:hover { border-color: var(--teal); }
.qcard i { color: var(--peach); font-size: 20px; margin-bottom: 10px; display: block; }
.qcard h3 { margin: 0 0 6px; font-size: 17px; color: var(--teal-deep); }
.qcard p { margin: 0; font-size: 13px; color: var(--muted); }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--cream); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; }
.section-head h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  margin: 8px 0 0;
  font-weight: 500;
  color: var(--teal-deep);
}

.centers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.center {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.center img { height: 190px; width: 100%; object-fit: cover; }
.center div { padding: 18px 18px 20px; }
.center h3 { margin: 0 0 8px; color: var(--teal-deep); font-size: 20px; }
.center p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.center a { color: var(--peach-deep); font-weight: 700; font-size: 13px; letter-spacing: .04em; }

.stats {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 0;
  background: var(--teal-deep);
  color: #fff;
  border-radius: 28px;
  overflow: hidden;
}
.stats .copy { padding: 36px 32px; }
.stats .copy h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 36px; margin: 8px 0 10px; font-weight: 500; }
.stat {
  padding: 36px 24px;
  border-left: 1px solid rgba(255,255,255,.12);
  text-align: center;
}
.stat b {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
  font-weight: 500;
  color: var(--peach);
  line-height: 1;
}
.stat span { display: block; margin-top: 8px; font-size: 13px; color: #c9e4e0; }

/* Find a doctor */
.find {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.find-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}
label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-mid); margin-bottom: 6px; }
.field, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  margin-bottom: 14px;
}
.doctors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.doc {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.doc img { height: 260px; width: 100%; object-fit: cover; object-position: top; }
.doc.poster img { height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #f3f7f6; }
.doc div { padding: 14px 16px 16px; }
.doc h3 { margin: 0; font-size: 18px; color: var(--teal-deep); }
.doc span { color: var(--peach-deep); font-size: 13px; font-weight: 600; }
.doc p { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pack {
  background: var(--white);
  border-radius: 22px;
  padding: 26px;
  border: 1px solid var(--line);
}
.pack h3 { margin: 8px 0 10px; color: var(--teal-deep); }
.pack ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.pack .from { margin-top: 16px; font-weight: 700; color: var(--peach-deep); }

.blogs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blog {
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}
.blog img { height: 170px; width: 100%; object-fit: cover; }
.blog div { padding: 16px 18px 20px; }
.blog time { font-size: 12px; color: var(--teal-mid); font-weight: 700; }
.blog h3 { margin: 6px 0 8px; font-size: 20px; color: var(--teal-deep); font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; }

.visit {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: stretch;
}
.visit img, .visit .map {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 28px;
  border: 0;
}
.appt {
  background: var(--cream);
  border-radius: 28px;
  padding: 32px;
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 22px;
}
.contact-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-deep);
}
.contact-chip i {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(78,168,160,.14);
  color: var(--teal-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-chip:hover { border-color: var(--teal); }
.contact-chip.fb i { background: rgba(24,119,242,.12); color: #1877f2; }
.dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dock a {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 12px 28px rgba(29,87,83,.28);
  font-size: 20px;
}
.dock .call { background: var(--teal-deep); }
.dock .book { background: var(--peach); color: #3b2116; }
.dock .fb { background: #1877f2; }
.dock a:hover { transform: translateY(-2px); }
.book-steps {
  list-style: none;
  margin: 22px 0 20px;
  padding: 0;
}
.book-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 15px;
}
.book-steps span {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-meta {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 22px;
}
.book-meta a { color: var(--teal-deep); font-weight: 700; }
.flash {
  background: #e7f6f3;
  border: 1px solid #b7e0d9;
  color: var(--teal-deep);
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
  font-size: 14px;
}
.hp { position: absolute; left: -9999px; }

footer {
  background: var(--teal-deep);
  color: #d5ece9;
  padding: 56px 0 24px;
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}
.foot h4 { color: #fff; margin: 0 0 12px; }
.foot a { display: block; margin: 6px 0; color: #c9e4e0; }
.foot a:hover { color: var(--peach); }
.legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; font-size: 13px; color: #9fc4bf; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

html[lang="km"] body { font-family: "Noto Sans Khmer", "Plus Jakarta Sans", sans-serif; }
html[lang="km"] .serif, html[lang="km"] h1, html[lang="km"] h2 { font-family: "Noto Serif Khmer", "Cormorant Garamond", serif; }

@media (max-width: 980px) {
  .menu, .nav .btn { display: none; }
  .nav-toggle { display: block; }
  .menu.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    padding: 16px 22px 22px;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
  }
  .quick-grid, .centers, .packages, .blogs, .doctors { grid-template-columns: 1fr 1fr; }
  .stats, .find, .visit, .foot { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .hero { min-height: 72vh; }
  .quick { margin-top: -40px; }
}
@media (max-width: 640px) {
  .quick-grid, .centers, .packages, .blogs, .doctors { grid-template-columns: 1fr; }
  .util .wrap { flex-direction: column; padding: 8px 0; align-items: flex-start; }
  .hero-copy { padding: 6rem 0 7rem; }
  .contact-row { grid-template-columns: 1fr; }
  body { padding-bottom: 76px; }
}
