/* =========================================================
   TRANG CHỦ CÔNG KHAI – BSCKI Phạm Minh Thành
   ========================================================= */
:root {
  --brand: #1b5fd1; --brand-2: #0ea5a4; --brand-dk: #0f3f93; --brand-soft: #ebf2fe; --brand-line: #c6d9fa;
  --teal-soft: #e3f6f5; --accent: #e8743b;
  --ink: #0d1b2e; --ink-2: #44546a; --ink-3: #7a8799;
  --bg: #ffffff; --bg-2: #f5f8fc; --line: #e3e9f1; --ok: #127a4d; --bad: #c42c2c; --warn: #9a5200;
  --navy: #0b1a33;
  --r: 20px; --r-sm: 14px;
  --font: "Google Sans Flex", "Google Sans", "Google Sans Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(13,27,46,.04), 0 8px 28px rgba(13,27,46,.07);
  --shadow-lg: 0 24px 60px rgba(13,27,46,.14);
  --grad: linear-gradient(135deg, #1b5fd1 0%, #1784d6 55%, #0ea5a4 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 36px, 1180px); margin: 0 auto; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 99; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 6px; }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 14px; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(27,95,209,.28); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(27,95,209,.34); }
.btn-soft { background: #fff; color: var(--brand); border-color: var(--brand-line); }
.btn-soft:hover { background: var(--brand-soft); }
.btn-ghost { color: var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; border-radius: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }

/* ---------- Thông báo đầu trang ---------- */
.notice { background: linear-gradient(90deg, #fff4e5, #fffaf2); border-bottom: 1px solid #f6d4a4; color: #7c3d00; }
.notice .wrap { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; }
.notice p { margin: 0; flex: 1; font-weight: 600; font-size: 15px; }
.notice button { border: 0; background: none; font-size: 24px; line-height: 1; color: inherit; cursor: pointer; padding: 0 4px; }

/* ---------- Thanh menu ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(13,27,46,.06); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand-line); }
.brand b { display: block; font-size: 15.5px; line-height: 1.2; } .brand small { color: var(--ink-3); font-size: 12.5px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { position: relative; padding: 8px 13px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--brand); background: var(--bg-2); }
.nav-links a.on { color: var(--brand); }
.nav-links a.on::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand); }
.nav-cta { display: flex; gap: 6px; }
@media (max-width: 980px) { .nav-links { display: none; } }
@media (max-width: 640px) {
  .hide-sm { display: none !important; } .nav-in { height: 64px; gap: 10px; }
  .nav-cta .btn { min-height: 42px; padding: 0 14px; font-size: 14px; }
  .brand b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .brand span { min-width: 0; }
  .brand img { width: 38px; height: 38px; }
}

/* ---------- Đầu trang ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 64px;
  background:
    radial-gradient(800px 420px at 85% 20%, rgba(14,165,164,.10), transparent 70%),
    radial-gradient(900px 500px at 10% 0%, rgba(27,95,209,.10), transparent 65%),
    linear-gradient(#fff, var(--bg-2)); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(27,95,209,.12) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000 0%, transparent 75%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 75%); pointer-events: none; }
.ecg { position: absolute; left: 0; right: 0; bottom: 6px; width: 100%; height: 110px; pointer-events: none; }
.ecg path { fill: none; stroke: var(--brand-2); stroke-width: 2; opacity: .22; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: ecg 3.2s ease-out .3s forwards; }
@keyframes ecg { to { stroke-dashoffset: 0; } }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { margin: 0 0 12px; font-size: clamp(36px, 5.6vw, 62px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.hero h1 small { display: block; font-size: .42em; letter-spacing: .02em; color: var(--ink-2); font-weight: 700; margin-bottom: 6px; }
.hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-org { margin: 0 0 16px; font-weight: 700; color: var(--brand-dk); font-size: 17px; }
.hero .lead { font-size: clamp(16px, 1.6vw, 18.5px); color: var(--ink-2); max-width: 560px; margin-bottom: 26px; }
.hero-act { display: flex; flex-wrap: wrap; gap: 10px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 26px 0 0; }
.trust li { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.trust .i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--teal-soft); color: var(--brand-2); stroke-width: 3; }
.hero-photo { position: relative; justify-self: center; width: min(100%, 440px); }
.photo-frame { aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; background: var(--brand-soft); box-shadow: var(--shadow-lg); position: relative; }
.photo-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.hero-photo::before { content: ""; position: absolute; inset: -18px -18px 26px 26px; border-radius: 36px; background: var(--grad); opacity: .14; z-index: -1; transform: rotate(3deg); }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow); max-width: 250px; border: 1px solid rgba(255,255,255,.7); }
.float-card > span { font-size: 22px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--bg-2); flex: none; }
.float-card b { display: block; font-size: 14.5px; } .float-card small { display: block; color: var(--ink-3); font-size: 12.5px; line-height: 1.35; }
.fc1 { left: -34px; top: 14%; animation: float 6s ease-in-out infinite; }
.fc2 { right: -26px; bottom: 12%; animation: float 6s ease-in-out 3s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.stats { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 44px 0 0; padding: 0; }
.stats > div { padding: 18px 20px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.stats dt { font-size: 30px; font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats dd { margin: 0; color: var(--ink-2); font-size: 14px; font-weight: 600; }
@media (max-width: 900px) {
  .hero { padding: 28px 0 40px; }
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { width: min(100% - 30px, 340px); margin-top: 6px; }
  .fc1 { left: -8px; } .fc2 { right: -8px; }
  .ecg { bottom: 30px; }
}
@media (max-width: 520px) { .float-card { max-width: 200px; padding: 9px 11px; } .float-card > span { width: 34px; height: 34px; font-size: 18px; } .hero-act .btn { flex: 1 1 100%; } }

/* Liên hệ nhanh (điện thoại) */
.quick { display: none; }
@media (max-width: 760px) {
  .quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 8px; margin-top: -22px; position: relative; z-index: 2; padding: 12px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); width: min(100% - 28px, 1180px); }
  .quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
  .quick span { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px; }
}
.q-call { background: linear-gradient(135deg, #12a150, #0d7d3e); }
.q-zalo { background: #0068ff; }
.q-mess { background: linear-gradient(135deg, #8b5cf6, #3b82f6); }
.q-book { background: var(--grad); }
.q-mail { background: linear-gradient(135deg, #f59e0b, #e8743b); }

/* ---------- Khối nội dung ---------- */
.sec { padding: 92px 0; }
.sec-alt { background: var(--bg-2); }
.sec-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.sec-head.left { text-align: left; margin: 0; }
.sec-head.sub { margin-top: 64px; }
.sec-head h2, .about h2, .booking h2 { margin: 0 0 12px; font-size: clamp(27px, 3.6vw, 40px); font-weight: 800; }
.sec-head > p:not(.eyebrow) { color: var(--ink-2); font-size: 17px; margin: 0; }
.prose p { color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .sec { padding: 60px 0; } .sec-head { margin-bottom: 30px; } .sec-head.sub { margin-top: 48px; } }

/* Giới thiệu */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.about .prose { font-size: 17px; }
.contact-mini { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.contact-mini span { display: flex; align-items: flex-start; gap: 9px; color: var(--ink-2); font-weight: 600; }
.contact-mini .i { color: var(--brand); margin-top: 4px; }
.facts { margin: 0; padding: 8px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.facts::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 4px; border-radius: 0 4px 4px 0; background: var(--grad); }
.facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--ink-3); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
.facts dd { margin: 0; font-weight: 700; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 30px; } .facts > div { grid-template-columns: 1fr; gap: 2px; } }

/* Lĩnh vực */
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.areas article { position: relative; padding: 26px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; overflow: hidden; }
.areas article::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); opacity: 0; transition: opacity .2s; }
.areas article:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.areas article:hover::after { opacity: 1; }
.areas i { font-style: normal; font-size: 26px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, var(--brand-soft), var(--teal-soft)); margin-bottom: 16px; }
.areas h3 { margin: 0 0 8px; font-size: 19px; }
.areas p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Nhóm bệnh */
.conds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 28px; }
.conds li { display: flex; gap: 14px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.conds .i { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--brand); color: #fff; stroke-width: 3; margin-top: 1px; }
.conds h3 { margin: 0 0 3px; font-size: 16.5px; }
.conds p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 760px) { .conds { grid-template-columns: 1fr; } }

/* Dịch vụ */
.services { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.services li { counter-increment: s; position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); transition: background .2s, box-shadow .2s, transform .2s; }
.services li:hover { background: #fff; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.services li::before { content: counter(s, decimal-leading-zero); font-size: 14px; font-weight: 800; color: var(--brand); letter-spacing: .08em; margin-bottom: 10px; }
.services h3 { margin: 0 0 8px; font-size: 18.5px; }
.services p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; flex: 1; }
.services a { align-self: flex-start; font-weight: 700; font-size: 14.5px; color: var(--brand); }
.services a:hover { text-decoration: underline; }

/* Quy trình */
.sec-dark { background: radial-gradient(900px 400px at 15% 0%, rgba(27,95,209,.35), transparent 70%), radial-gradient(800px 400px at 90% 100%, rgba(14,165,164,.25), transparent 70%), var(--navy); color: #fff; }
.sec-dark .eyebrow { color: #7fd8d6; }
.sec-dark .sec-head h2 { color: #fff; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 26px; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.28) 10%, rgba(255,255,255,.28) 90%, transparent); }
.steps li { counter-increment: st; position: relative; text-align: center; padding: 0 6px; }
.steps li::before { content: counter(st); display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: 20px; box-shadow: 0 0 0 6px var(--navy), 0 0 0 7px rgba(255,255,255,.18); position: relative; }
.steps h3 { margin: 0 0 6px; font-size: 18px; color: #fff; }
.steps p { margin: 0; color: rgba(255,255,255,.72); font-size: 14.5px; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { left: 26px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: rgba(255,255,255,.22); }
  .steps li { display: grid; grid-template-columns: 54px 1fr; gap: 0 16px; text-align: left; padding: 0 0 22px; }
  .steps li::before { grid-row: 1 / 3; margin: 0; }
  .steps h3 { align-self: end; margin-top: 4px; }
}

/* Kiến thức */
.articles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: start; }
.articles details { border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.articles summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative; }
.articles summary::-webkit-details-marker { display: none; }
.articles h3 { margin: 6px 0 0; font-size: 17px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--teal-soft); color: #0b7a79; }
.more { position: absolute; right: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--brand-soft); }
.more::before, .more::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 2px; border-radius: 2px; background: var(--brand); transition: transform .2s; }
.more::after { transform: rotate(90deg); }
details[open] .more::after { transform: rotate(0); }
.articles .prose { padding: 0 20px 18px; font-size: 15px; }
@media (max-width: 760px) { .articles { grid-template-columns: 1fr; } }

/* Hỏi đáp */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-wrap .sec-head { position: sticky; top: 100px; }
.faq-wrap .sec-head a b { color: var(--brand); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 9px; height: 9px; border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq .prose { padding: 0 0 20px; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 20px; } .faq-wrap .sec-head { position: static; } }

/* ---------- Đặt lịch ---------- */
.booking { background: linear-gradient(180deg, var(--bg-2), #fff); }
.booking-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.booking-info > p:not(.eyebrow) { color: var(--ink-2); font-size: 17px; }
.emergency { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-sm); background: #fff5f5; border: 1px solid #f7caca; color: #8f1d1d; font-size: 15px; margin: 22px 0; }
.emergency .i { width: 22px; height: 22px; color: var(--bad); margin-top: 2px; }
.emergency b { display: block; color: var(--bad); }
.contact-list { display: grid; gap: 10px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s; }
.contact-list a:hover { border-color: var(--brand-line); box-shadow: var(--shadow); }
.contact-list span { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px; flex: none; }
.contact-list b { display: block; } .contact-list small { color: var(--ink-3); }
.form-card { padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 6px 10px; border-radius: 13px; border: 1.5px solid var(--line); font-weight: 700; font-size: 14.5px; color: var(--ink-2); transition: all .15s; }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.choice input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); }
.grid2, .relative { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.relative { margin-bottom: 14px; padding: 14px; border-radius: 14px; background: var(--bg-2); }
.span2 { grid-column: 1 / -1; }
.f { display: block; }
.f > span { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.f input, .f select, .f textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 13px; border: 1.5px solid var(--line); background: #fff; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }
.f textarea { min-height: 90px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(27,95,209,.12); }
.f.err input, .f.err select { border-color: var(--bad); background: #fff8f8; }
.consent { display: flex; gap: 9px; align-items: flex-start; margin: 16px 0; font-size: 14px; color: var(--ink-2); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; }
.form-msg { margin-top: 12px; font-weight: 600; font-size: 15px; }
.form-msg.ok { color: var(--ok); } .form-msg.err { color: var(--bad); }
.book-closed { text-align: center; }
.book-closed b { display: block; font-size: 20px; margin-bottom: 8px; }
.book-closed p { color: var(--ink-2); margin: 0 0 18px; }
@media (max-width: 900px) { .booking-in { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 520px) { .form-card { padding: 20px 16px; } .grid2, .relative { grid-template-columns: 1fr; } }

/* ---------- Chân trang ---------- */
.foot { background: var(--navy); color: rgba(255,255,255,.78); padding: 60px 0 24px; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 2px solid rgba(255,255,255,.2); }
.foot-brand b { display: block; color: #fff; font-size: 17px; }
.foot-brand span { display: block; font-size: 14px; }
.foot-col h3 { margin: 0 0 12px; color: #fff; font-size: 15px; letter-spacing: .02em; }
.foot-col a, .foot-col span { display: flex; align-items: flex-start; gap: 8px; padding: 4px 0; font-size: 14.5px; }
.foot-col .i { width: 16px; height: 16px; margin-top: 4px; opacity: .7; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: rgba(255,255,255,.55); }
.login-link { color: rgba(255,255,255,.75); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-in { grid-template-columns: 1fr; } }

/* ---------- Thanh liên hệ điện thoại ---------- */
.mnav { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .mnav { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(66px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(13,27,46,.06); }
  .mnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
  .mnav .i { width: 22px; height: 22px; color: var(--brand); }
  .mnav-main span { width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; border: 4px solid #fff; box-shadow: 0 8px 18px rgba(27,95,209,.35); }
  .mnav-main .i { color: #fff; width: 24px; height: 24px; }
  .mnav-main { color: var(--brand) !important; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } .ecg path { stroke-dashoffset: 0; } }
