/* ==========================================================
   Măng Skin Clinic – stylesheet chính
   Màu thương hiệu: Đỏ Bordeaux tươi #7B1030 (footer: Bordeaux gốc #5F021F), Gold #C9A84C, Trắng #FFFFFF, Đen #1A1A1A.
   Font: Ivy Presto cho tiêu đề, Montserrat cho nội dung.
   ========================================================== */

@font-face { font-family: "Ivy Presto"; src: url("../fonts/SVN-IvyPrestoHeadline-Regular.woff2") format("woff2"); font-weight: 300 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Ivy Presto"; src: url("../fonts/SVN-IvyPrestoHeadline-Italic.woff2") format("woff2"); font-weight: 300 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Ivy Presto"; src: url("../fonts/SVN-IvyPrestoHeadline-SemiBold.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Ivy Presto"; src: url("../fonts/SVN-IvyPrestoHeadline-SemiBoldItalic.woff2") format("woff2"); font-weight: 600 700; font-style: italic; font-display: swap; }

@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-vietnamese-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  /* Màu thương hiệu (bảng màu chính thức) */
  --red: #7B1030;        /* Đỏ Bordeaux tươi (chủ đạo) */
  --gold: #C9A84C;       /* Vàng gold */
  --white: #FFFFFF;      /* Trắng nền */
  --ink: #1A1A1A;        /* Đen text */
  /* Sắc độ phụ, suy ra từ màu chính */
  --red-hover: #93183C;
  --red-deep: #5F021F;   /* nền footer: Bordeaux gốc */
  --gold-text: #8A6A1E;  /* gold đậm cho chữ nhỏ trên nền trắng (đủ tương phản) */
  --cream: #FFFFFF;      /* nền trang */
  --beige: #F6F6F6;      /* nền khối xen kẽ: xám trung tính rất nhạt (không dùng be/kem) */
  --clay: #C9A84C;
  --text: #3A3A3A;
  --muted: #555555;
  --subtle: #666666;
  --eyebrow: #8A6A1E;    /* chữ nhỏ viết hoa trên tiêu đề, nền sáng – gold đậm cho dễ đọc; trên nền đỏ vẫn dùng --gold */
  --line: #E6E6E6;
  --field: #CCCCCC;
  --on-red: rgba(255, 255, 255, .86); /* chữ phụ trên nền đỏ */
  --serif: "Ivy Presto", Georgia, serif;
  --sans: "Montserrat", system-ui, sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --section: clamp(56px, 8vw, 112px);
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-hover); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.bg-white { background: var(--white); }
.bg-beige { background: var(--beige); }
.bg-red { background: var(--red); color: var(--cream); }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 72px); }
.split > * { flex: 1 1 420px; min-width: 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(var(--min, 260px), 1fr)); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.section-head p { max-width: 420px; color: var(--text); font-weight: 300; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Typography ---------- */
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--eyebrow); font-weight: 600; margin-bottom: 12px; }
.bg-red .eyebrow { color: var(--gold); }
.serif { font-family: var(--serif); }
.h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.4vw, 76px); line-height: 1.08; color: var(--red); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.1; color: var(--red); }
.bg-red .h2 { color: var(--white); }
.lead { font-size: 17px; font-weight: 300; color: var(--text); max-width: 540px; }
.num { font-family: var(--serif); font-style: italic; color: var(--clay); font-size: 30px; line-height: 1; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font-weight: 500; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-hover); color: var(--white); }
.btn--line { border-color: var(--red); color: var(--red); background: transparent; }
.btn--line:hover { background: var(--red); color: var(--white); }
.btn--white { background: var(--white); color: var(--red); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.topbar { background: var(--red); color: #FFFFFF; font-size: 13px; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 8px; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 500; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
.logo img { height: 48px; width: auto; }
.nav { display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(32px, 6vw, 88px); }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero-text .h1 em { font-style: italic; }
.license { font-size: 13px; color: var(--subtle); }
.hero-media { position: relative; max-width: 500px; margin-inline: auto; width: 100%; }
.hero-media > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 260px 260px 24px 24px; }
.badge { position: absolute; left: -12px; bottom: 28px; background: var(--white); border-radius: 16px; padding: 14px 18px; box-shadow: 0 12px 32px rgba(123, 16, 48, .12); display: flex; align-items: center; gap: 12px; max-width: 270px; font-size: 13px; line-height: 1.4; }
.badge img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; object-position: top; }
.badge strong { display: block; color: var(--red); font-weight: 600; }
.badge span { color: var(--muted); }

/* ---------- Trust strip ---------- */
.trust { background: var(--beige); }
.trust .grid { --min: 240px; gap: 24px; padding-block: 32px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.trust-item .num { color: var(--red); font-size: 32px; }
.trust-item strong { font-weight: 600; display: block; }

/* ---------- Cards ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); transition: border-color .2s; }
a.card:hover { border-color: var(--red); color: var(--ink); }
.card-title { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--red); line-height: 1.2; }
.card-text { font-size: 14px; color: var(--muted); flex-grow: 1; }
.card-link { font-size: 14px; font-weight: 500; color: var(--red); }

/* ---------- Technology ---------- */
.tech-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.tech-intro { display: flex; flex-direction: column; gap: 24px; }
.tech-intro p { font-weight: 300; color: var(--on-red); }
.tech-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(201, 168, 76, .35); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.tech-card h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--white); line-height: 1.1; }
.tech-card .tag { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.tech-card p { font-size: 14px; color: var(--on-red); font-weight: 300; flex-grow: 1; }
.tech-card a { font-size: 14px; color: var(--white); font-weight: 500; }
.tech-wrap { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); }
.tech-wrap > :first-child { flex: 1 1 380px; min-width: 0; }
.tech-wrap > :last-child { flex: 1 1 460px; min-width: 0; --min: 220px; align-content: start; align-self: center; grid-auto-rows: 1fr; }

/* ---------- Tabs & results ---------- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.tab { height: 44px; padding: 0 20px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; background: transparent; color: var(--red); border: 1px solid var(--field); }
.tab[aria-selected="true"] { background: var(--red); color: var(--white); border-color: var(--red); }
.result { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.result img { width: 100%; object-fit: cover; border-radius: 12px; }
.result figcaption { padding: 14px 6px 4px; font-size: 14px; color: var(--text); }
.result figcaption strong { color: var(--red); font-weight: 600; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pair div { position: relative; }
.pair img { aspect-ratio: 3 / 4; }
/* Ảnh đôi (trước/sau) và ảnh đơn cùng khung 3:2 để hai thẻ luôn cao bằng nhau */
.result-single, .pair { aspect-ratio: 3 / 2; }
.result-single { object-position: center 40%; }
.pair img { aspect-ratio: auto; height: 100%; }
.pill { position: absolute; left: 8px; bottom: 8px; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--white); color: var(--ink); }
.pill--dark { background: var(--red); color: var(--white); }
.note { text-align: center; font-size: 13px; color: var(--subtle); margin-top: 24px; }

/* ---------- Team ---------- */
.team { display: flex; flex-wrap: wrap; gap: 24px; }
.person { background: var(--cream); border-radius: 24px; padding: 28px; display: flex; flex-wrap: wrap; gap: 28px; }
.person--doctor { flex: 2 1 560px; min-width: 0; }
.person--founder { flex: 1 1 300px; min-width: 0; flex-direction: column; gap: 14px; }
.person--doctor > img { flex: 0 0 220px; width: 220px; height: 260px; object-fit: cover; object-position: top; border-radius: 120px 120px 16px 16px; background: var(--beige); }
.person--founder > img { width: 100%; height: 260px; object-fit: cover; object-position: center 20%; border-radius: 16px; }
.person-body { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.person .role { font-size: 13px; color: var(--eyebrow); font-weight: 500; }
.person h3 { font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--red); line-height: 1.1; }
.person ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; color: var(--text); }
.person .quote { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--red); }
.person p { font-size: 14px; color: var(--muted); }

/* ---------- Gallery / perks / reviews / posts ---------- */
.gallery figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.gallery figcaption { font-size: 14px; padding-top: 10px; color: var(--text); }
.experience img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 24px; }
.experience-body { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.perks { --min: 200px; width: 100%; gap: 14px; }
.perk { background: var(--cream); border-radius: 16px; padding: 18px; }
.perk strong { display: block; font-weight: 600; color: var(--red); }
.perk span { font-size: 14px; color: var(--muted); }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.stars { color: var(--clay); letter-spacing: 2px; }
.review p { font-size: 15px; color: var(--text); flex-grow: 1; }
.review footer { font-size: 14px; font-weight: 600; color: var(--red); }
.post { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 12px; }
.post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; }
.post .tag { font-size: 12px; color: var(--eyebrow); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.post .title { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.25; color: var(--red); }

/* ---------- Booking & form ---------- */
/* Khối đặt lịch trang chủ: hàng trên chữ | ảnh, form rộng full bên dưới */
.booking { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(28px, 4vw, 48px); background: var(--red); border-radius: 28px; padding: clamp(28px, 5vw, 64px); color: var(--cream); }
.booking-info { display: flex; flex-direction: column; gap: 16px; }
.booking-info .eyebrow { margin: 0; }
.booking-info p { font-weight: 300; color: var(--on-red); }
.booking-info dl { margin: 0; display: grid; gap: 6px; font-size: 15px; }
.booking-info dt { display: inline; color: var(--gold); }
.booking-info dd { display: inline; margin: 0; }
.booking-info a { color: var(--white); font-weight: 500; }
.booking-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; }
.booking .booking-form { grid-column: 1 / -1; max-width: none; }
.booking .bf-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
@media (max-width: 860px) {
  .booking, .booking .bf-options { grid-template-columns: minmax(0, 1fr); }
}
.form { background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea { min-height: 48px; border: 1px solid var(--field); border-radius: 12px; padding: 0 14px; font-weight: 400; background: var(--white); color: var(--ink); }
.field textarea { padding: 12px 14px; }
.form .btn { min-height: 52px; border: 0; }
.form-msg { font-size: 14px; border-radius: 12px; padding: 12px 14px; background: rgba(201, 168, 76, .16); color: var(--red); }
.form-note { font-size: 12px; color: var(--subtle); }

/* ---------- Footer ---------- */
.site-footer { background: var(--red-deep); color: rgba(255, 255, 255, .78); font-size: 14px; }
.site-footer .grid { --min: 220px; gap: 32px; padding-block: 56px 32px; }
.site-footer h2 { color: var(--white); font-family: var(--sans); font-weight: 600; font-size: 14px; line-height: 1.6; margin: 0 0 4px; } /* h2 (trước là h3) để thứ tự tiêu đề đúng chuẩn SEO, giao diện giữ nguyên */
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer .col { display: flex; flex-direction: column; gap: 6px; }
.site-footer .logo-white { height: 52px; width: auto; max-width: 100%; align-self: flex-start; object-fit: contain; }
.site-footer .slogan { font-family: var(--serif); font-size: 19px; font-style: italic; color: #FFFFFF; }
.legal { border-top: 1px solid rgba(255, 255, 255, .12); }
.legal .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 18px 24px; font-size: 12px; color: rgba(255, 255, 255, .6); }

/* ---------- Mobile contact bar ---------- */
.mbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .topbar, .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { display: block; position: fixed; inset: 0; z-index: 60; background: var(--cream); padding: 24px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
  .mobile-nav.is-open { transform: none; }
  .mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
  .mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 26px; color: var(--red); text-decoration: none; }
  .mobile-nav .btn { display: flex; margin-top: 24px; width: 100%; font-family: var(--sans); font-size: 15px; border: 0; }
  .mobile-nav .btn--red, .mobile-nav .btn--red:hover { color: var(--white); } /* chữ trắng trên nút đỏ (trước bị đỏ trùng nền) */
  .mbar { display: flex; position: sticky; bottom: 0; z-index: 40; gap: 8px; padding: 8px; background: var(--white); border-top: 1px solid var(--line); }
  .mbar a { flex: 1; min-height: 48px; padding: 0 12px; font-size: 14px; }
  .mbar a:last-child { flex: 1.4; }
  .badge { left: 8px; }
}
@media (max-width: 560px) {
  .person--doctor > img { flex-basis: 100%; width: 100%; height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ==========================================================
   Trang con
   ========================================================== */
.page-hero { padding-block: clamp(32px, 5vw, 72px); }
.page-hero .h1 em { font-style: italic; }
.page-hero--center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.page-hero--center .lead { margin-inline: auto; }
.page-hero-text { display: flex; flex-direction: column; gap: 20px; }
.page-hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 24px; }
.page-hero-media--arch img { border-radius: 260px 260px 24px 24px; }
.breadcrumb { font-size: 13px; color: var(--subtle); }
.breadcrumb a { color: var(--subtle); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; }
.bg-red .breadcrumb, .bg-red .breadcrumb a { color: rgba(255, 255, 255, .78); }

.box { background: var(--cream); border-radius: 18px; padding: 22px; }
.bg-white .box { background: var(--cream); }
.bg-beige .box { background: var(--cream); }
.box strong { display: block; font-weight: 600; color: var(--red); margin-top: 6px; }
.box p { font-size: 14px; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.steps li { border-top: 1px solid rgba(201, 168, 76, .5); padding-top: 16px; }
.steps .num { color: var(--gold); font-size: 34px; }
.steps strong { display: block; font-weight: 500; color: var(--white); }
.steps span { font-size: 14px; color: var(--on-red); font-weight: 300; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.solutions { --min: 240px; }
.solution { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
a.solution:hover { border-color: var(--red); color: var(--ink); }

.faq { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--cream); }
.faq summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--red); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; font-size: 15px; color: var(--text); font-weight: 300; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: 15px; }
.links-row { --min: 220px; gap: 12px; }
.link-card { text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; color: var(--red); font-family: var(--serif); font-size: 24px; }
.link-card:hover { border-color: var(--red); }

.cta-band { background: var(--red); border-radius: 28px; padding: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta-band .h2 { color: var(--white); max-width: 620px; font-size: clamp(28px, 3vw, 44px); }
.cta-band--beige { background: var(--beige); }
.cta-band--beige .h2 { color: var(--red); }

.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.values div { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px; font-family: var(--serif); font-size: 26px; color: var(--red); }
.founder-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.founder-photos img { width: 100%; height: 204px; object-fit: cover; object-position: center 25%; border-radius: 16px; }
.founder-photos img:first-child { grid-row: span 2; height: 100%; min-height: 420px; border-radius: 200px 200px 20px 20px; }
.doctor-profile { display: flex; flex-wrap: wrap; gap: 32px; }
.doctor-profile > img { flex: 0 1 300px; width: 300px; height: 360px; object-fit: cover; object-position: top; border-radius: 160px 160px 20px 20px; background: var(--beige); }
.doctor-profile > div { flex: 1 1 520px; min-width: 0; }
.doctor-profile h3 { font-size: 15px; font-weight: 600; color: var(--red); margin-bottom: 8px; }
.doctor-profile ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--text); }
.photo-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }

.filter-grid { --min: 280px; gap: 20px; }
.case { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.case img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.case figcaption { padding: 14px 6px 4px; display: flex; flex-direction: column; gap: 4px; }
.case .tag { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--eyebrow); font-weight: 500; }
.case .title { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--red); line-height: 1.2; }

.offer { background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.offer > img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; } /* ảnh ưu đãi là ảnh vuông: khung vuông để thấy trọn máy, không mất góc */
.offer-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.offer-badge { align-self: flex-start; background: rgba(201, 168, 76, .16); color: var(--red); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.offer h2 { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--red); line-height: 1.1; }
.offer .price { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--red); }
.offer ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--text); flex-grow: 1; }
.offer .until { font-size: 13px; color: var(--subtle); margin-top: auto; } /* đẩy thời hạn + nút xuống đáy thẻ, kể cả thẻ không có quyền lợi */

.featured-post { text-decoration: none; color: var(--ink); display: flex; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.featured-post img { flex: 1 1 420px; min-width: 0; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.featured-post > div { flex: 1 1 380px; min-width: 0; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.post .excerpt { font-size: 14px; color: var(--muted); font-weight: 300; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.byline img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; object-position: top; }
.byline strong { color: var(--red); font-weight: 600; }
.article-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.article-layout > .prose { flex: 999 1 560px; min-width: 0; }
.article-layout > aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.prose { font-size: 17px; line-height: 1.75; color: var(--ink); }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; color: var(--red); line-height: 1.2; margin-top: 36px; }
.prose h3 { font-size: 18px; font-weight: 600; color: var(--red); margin-top: 28px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose blockquote { padding: 20px 24px; background: var(--white); border-radius: 18px; border: 1px solid var(--line); font-family: var(--serif); font-size: 24px; font-style: italic; color: var(--red); line-height: 1.35; }
.prose .disclaimer { font-size: 13px; color: var(--subtle); margin-top: 32px; }
.aside-card { background: var(--red); color: var(--cream); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.aside-card .serif { font-size: 26px; color: var(--white); line-height: 1.2; }
.aside-card p { font-size: 14px; color: var(--on-red); font-weight: 300; }

.jobs { max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.jobs details { background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.jobs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; }
.jobs summary::-webkit-details-marker { display: none; }
.jobs summary::after { content: "+"; font-size: 24px; color: var(--red); }
.jobs details[open] summary::after { content: "−"; }
.jobs summary .serif { display: block; font-size: 26px; color: var(--red); line-height: 1.2; }
.jobs summary small { font-size: 13px; color: var(--subtle); }
.jobs .job-body { padding: 0 22px 22px; font-size: 15px; color: var(--text); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

.contact-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.contact-layout > .form { flex: 3 1 520px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); }
.contact-layout > aside { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.slot-group { border: 0; margin: 0; padding: 0; }
.slot-group legend { font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slots label { position: relative; }
.slots input { position: absolute; opacity: 0; inset: 0; }
.slots span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--field); color: var(--red); font-size: 14px; background: var(--white); cursor: pointer; }
.slots input:checked + span { background: var(--red); color: var(--white); border-color: var(--red); }
.slots input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.check input { width: 20px; height: 20px; accent-color: var(--red); }
.quick-links { background: var(--red); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.quick-links .serif { font-size: 28px; color: var(--white); }
.quick-links a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; text-decoration: none; font-weight: 500; border: 1px solid rgba(255, 255, 255, .5); color: var(--white); }
.quick-links a:first-of-type { background: var(--white); color: var(--red); border-color: var(--white); }
.map-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.map-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.map-card div { padding: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.placeholder { border: 1px dashed var(--clay); border-radius: 12px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; color: var(--eyebrow); padding: 16px; aspect-ratio: 4 / 5; }

@media (max-width: 960px) {
  .article-layout > aside { position: static; }
}
@media (max-width: 560px) {
  .doctor-profile > img { flex-basis: 100%; width: 100%; }
  .founder-photos img:first-child { min-height: 320px; }
}

/* ==========================================================
   Form đặt lịch thống nhất (partials/booking-form.njk)
   ========================================================== */
.booking-form { background: #FFFFFF; color: var(--ink); border: 1px solid #E6E6E6; border-radius: 12px; box-shadow: 0 20px 48px rgba(123, 16, 48, .06); padding: clamp(28px, 5vw, 48px); display: flex; flex-direction: column; gap: 28px; width: 100%; max-width: 672px; margin-inline: auto; }
.booking-form__title { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3vw, 36px); text-transform: uppercase; color: var(--red); text-align: center; letter-spacing: .02em; }
.booking-form__title::after { content: ""; display: block; width: 64px; height: 4px; background: var(--gold); margin: 14px auto 0; }
.bf-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 24px; align-items: start; }
.bf-field { display: flex; flex-direction: column; gap: 6px; }
.bf-field label, .bf-group legend { font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--ink); }
.bf-field input { border: 0; border-bottom: 1px solid #CCCCCC; background: transparent; border-radius: 0; min-height: 44px; padding: 6px 0; font-size: 16px; color: var(--ink); }
.bf-field input:focus { outline: none; border-bottom-color: var(--red); }
.bf-field input[type="date"] { color: var(--muted); }
.bf-group { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bf-group legend { padding: 0; margin-bottom: 12px; }
.bf-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.bf-check, .bf-radio { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 300; color: var(--text); cursor: pointer; min-height: 26px; }
.bf-check input, .bf-radio input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 20px; height: 20px; margin: 0; border: 1px solid #CCCCCC; background: var(--white); display: grid; place-content: center; cursor: pointer; }
.bf-radio input { border-radius: 50%; }
.bf-check input:checked { background: var(--red); border-color: var(--red); }
.bf-check input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.bf-radio input:checked { border-color: var(--red); }
.bf-radio input:checked::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.bf-check input:focus-visible, .bf-radio input:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.bf-consent { border-top: 1px solid #E6E6E6; padding-top: 24px; font-size: 14px; align-items: flex-start; }
.bf-consent input { margin-top: 1px; }
.booking-form__submit { min-height: 56px; border: 0; border-radius: 2px; background: var(--red); color: var(--white); font-size: 16px; font-weight: 500; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.booking-form__submit:hover { background: var(--red-hover); }
.bf-invalid input { border-bottom-color: #B3261E; }
.bf-invalid label, .bf-invalid legend { color: #B3261E; }
.form-msg { font-size: 14px; border-radius: 4px; padding: 12px 14px; background: rgba(201, 168, 76, .16); color: var(--red); }
.contact-layout > .booking-form { flex: 3 1 520px; min-width: 0; margin: 0; max-width: none; }

/* ---------- Nội dung V4: danh sách bước, cột phù hợp/cần lưu ý, câu trích ---------- */
.box { border: 1px solid var(--line); }
.step-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.step-list li { display: flex; gap: 18px; align-items: flex-start; background: var(--white); }
.step-list strong { margin-top: 2px; }
.step-list p { margin: 4px 0 0; }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.duo-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.duo-card h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--red); margin: 0 0 14px; }
.duo-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.duo-card li { position: relative; padding-left: 26px; font-size: 15px; color: var(--text); }
.duo-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 2px; background: var(--gold); }
.duo-card--warn li::before { content: "!"; width: 16px; height: 16px; top: 3px; border-radius: 50%; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-content: center; }
.duo-card .hint { margin-top: 16px; font-size: 13px; color: var(--subtle); }
.quote-band { padding-block: clamp(40px, 6vw, 72px) 0; text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 860px; }
.quote-band p { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.2; color: var(--red); margin: 0; }
.quote-band p::after { content: ""; display: block; width: 64px; height: 3px; background: var(--gold); margin: 24px auto 12px; }
.quote-band footer { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--eyebrow); font-weight: 600; }
.group-card { display: flex; flex-direction: column; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--ink); }
.group-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.group-card .gc-body { padding: 0 clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.group-card h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 38px); color: var(--red); margin: 0; line-height: 1.1; }
.group-card:hover { border-color: var(--red); }
.solution .sol-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--eyebrow); font-weight: 600; }

/* Trang Kết quả: lưới 6 phần – ảnh đơn 2 phần, ảnh trước/sau 4 phần, ảnh "wide" 3 phần – để mọi hàng luôn đầy */
@media (min-width: 900px) {
  .results-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .results-grid .case { grid-column: span 2; }
  .results-grid .case--pair { grid-column: span 4; }
  .results-grid .case--wide { grid-column: span 3; }
  .results-grid .case--wide img { aspect-ratio: 6 / 5; }
}
.case--pair .pair { aspect-ratio: auto; gap: 44px; } /* 44px = khoảng cách để ảnh cao bằng ảnh đơn bên cạnh */
.case--pair .pair img { aspect-ratio: 4 / 5; }
/* Điện thoại: các nút trong cùng hàng giãn đều toàn chiều ngang cho cân đối */
@media (max-width: 600px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; justify-content: center; text-align: center; }
}

/* Trang chủ – khối "Chuyên môn": giữ bố cục phá cách (thẻ bác sĩ ngang rộng + thẻ founder dọc),
   chỉnh cho hai thẻ cao bằng nhau, có nền nhẹ và nội dung căn giữa theo chiều dọc */
.team { align-items: stretch; }
.team .person { background: var(--beige); padding: clamp(24px, 3vw, 36px); }
.team .person--doctor { align-items: center; gap: clamp(24px, 3vw, 40px); }
.team .person--doctor > img { flex: 0 0 240px; width: 240px; height: 300px; }
.team .person--founder { justify-content: center; }
.team .person--founder > img { height: 200px; }
@media (max-width: 560px) {
  .team .person--doctor > img { flex-basis: 100%; width: 100%; height: 320px; }
}

/* Điện thoại: tăng vùng bấm của các link chữ "… →" lên tối thiểu 44px (giao diện giữ nguyên) */
@media (max-width: 860px) {
  .tech-card > a, .person--founder > a, .section-head > a, main p > a[href^="/ket-qua/"],
  main a[href^="https://maps"], main a[href^="https://www.google.com/maps"], main a[href^="https://goo.gl"] {
    display: inline-flex; align-items: center; min-height: 44px;
  }
}

/* Ô bẫy chống spam trong form – ẩn khỏi người dùng */
.bf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Ảnh kết quả trước/sau dạng vuông (đã có khung "Trước – Sau" trong ảnh): giữ trọn khung vuông */
.case--sq img { aspect-ratio: 1 / 1; }

/* Tiêm dưỡng chất & làm đầy */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .products { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 560px) { .products { grid-template-columns: 1fr; } }
.product { margin: 0; background: var(--white, #fff); border: 1px solid rgba(0,0,0,.08); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.product img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.product figcaption { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--text); }
.product figcaption strong { font-size: 17px; color: var(--ink); }
.product-brand { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 4px; }
.inject-media img { width: 100%; aspect-ratio: 1672 / 941; object-fit: cover; border-radius: 16px; display: block; }
.inject-text > * { max-width: 760px; }
.check-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { position: relative; padding-left: 26px; font-size: 15px; color: var(--text); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 2px; background: var(--gold); }
.home-inject .inject-media img { aspect-ratio: 1672 / 941; }
.brand-strip { margin-top: 40px; border-radius: 16px; overflow: hidden; }
.brand-strip img { width: 100%; height: auto; display: block; }
