/* =========================================================
   BS CKI Võ Thanh Sang — Hệ thống thiết kế dùng chung
   Dùng cho mọi trang: index, gioi-thieu, dich-vu, bang-gia,
   bo-suu-tap, lien-he
   ========================================================= */

:root {
  /* Bảng màu lấy theo bacsivothanhsang.com: tím-chàm #270D9A + vàng kem */
  --cream: #FAF9FF;
  --cream-2: #EFEBFC;
  --ink: #221C3F;
  --ink-soft: #5C5680;
  --gold: #F2B705;
  --gold-dark: #C98A0E;
  --rose: #6B4DE6;
  --rose-soft: #E7E0FB;
  --brand: #2A0E9C;
  --brand-2: #4A24D6;
  --white: #FFFFFF;
  --shadow: 0 18px 50px rgba(42, 14, 156, 0.12);
  --shadow-sm: 0 8px 24px rgba(42, 14, 156, 0.08);
  --radius: 18px;
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}
h1, h2, h3, .serif { font-family: 'Playfair Display', Georgia, serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.bg-cream2 { background: var(--cream-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-dark); font-weight: 600; margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.eyebrow.center { justify-content: center; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.9rem); line-height: 1.15; font-weight: 600; }
.lead { color: var(--ink-soft); font-size: 1.06rem; max-width: 60ch; }
.head-center { text-align: center; max-width: 660px; margin: 0 auto 3rem; }
.head-center .lead { margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.7rem; border-radius: 100px; font-weight: 600; font-size: .98rem;
  border: 1.5px solid transparent; cursor: pointer; transition: .25s ease; white-space: nowrap;
}
.btn-gold { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(42,14,156,.30); }
.btn-gold:hover { background: var(--brand-2); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(42,14,156,.28); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,248,244,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43,38,34,.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 700; }
.brand .mark {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  color: #fff; display: grid; place-items: center;
  font-family: 'Playfair Display', serif; font-size: 1.05rem; letter-spacing: .02em;
}
.brand b { font-weight: 700; line-height: 1.1; }
.brand small { display: block; font-weight: 400; font-size: .72rem; color: var(--ink-soft); letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a { font-size: .94rem; color: var(--ink-soft); font-weight: 500; transition: .2s; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: .8rem; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--brand); margin: 5px 0; transition: .25s; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding-top: clamp(2.5rem, 5vw, 4rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1200px 600px at 85% -10%, var(--rose-soft) 0%, transparent 55%),
    radial-gradient(900px 500px at -10% 20%, #FFF3CF 0%, transparent 50%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.1rem); font-weight: 700; line-height: 1.08; }
.hero h1 .accent { color: var(--brand); font-style: italic; }
.hero p.lead { margin: 1.4rem 0 2rem; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.6rem; }
.hero-badge b { font-family: 'Playfair Display', serif; font-size: 1.7rem; color: var(--ink); display: block; }
.hero-badge span { font-size: .85rem; color: var(--ink-soft); }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { position: relative; padding: clamp(2.5rem,6vw,4.5rem) 0 clamp(2rem,4vw,3rem); text-align: center; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(900px 420px at 50% -20%, var(--rose-soft) 0%, transparent 60%);
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; }
.page-hero .lead { margin: 1rem auto 0; }
.breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb span { color: var(--gold-dark); }

/* ---------- Portrait ---------- */
.portrait {
  position: relative; aspect-ratio: 4/5; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow);
  background: linear-gradient(160deg, #efe2d3, var(--rose-soft));
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1.5rem; }
.portrait .placeholder .ring {
  width: 130px; height: 130px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.7);
  display: grid; place-items: center; margin: 0 auto 1rem;
  font-family: 'Playfair Display', serif; font-size: 2.6rem; color: #fff;
}
.portrait .placeholder p { color: rgba(255,255,255,.92); font-size: .9rem; }
.portrait .tag {
  position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  border-radius: 14px; padding: .9rem 1.1rem; box-shadow: var(--shadow-sm);
}
.portrait .tag b { font-family: 'Be Vietnam Pro'; font-weight: 700; }
.portrait .tag span { font-size: .82rem; color: var(--ink-soft); display: block; }

/* ---------- Stats ---------- */
.stats { background: var(--brand); color: var(--cream); }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat b { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); color: var(--gold); display: block; }
.stat span { font-size: .92rem; color: rgba(251,248,244,.78); letter-spacing: .02em; }

/* ---------- Generic 2-col ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.media-box {
  aspect-ratio: 1/1; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow);
  background: linear-gradient(145deg, var(--cream-2), var(--rose-soft));
  display: grid; place-items: center; color: var(--gold-dark);
}
.media-box img { width: 100%; height: 100%; object-fit: cover; }
.media-box svg { width: 44%; opacity: .55; }

.check-list { list-style: none; margin-top: 1.6rem; display: grid; gap: .9rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink-soft); }
.check-list li svg { flex: none; margin-top: 3px; color: var(--gold-dark); }
.check-list li b { color: var(--ink); }

/* ---------- Cards (services) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm); transition: .3s ease; border: 1px solid rgba(43,38,34,.04);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #FFF3CF, var(--rose-soft)); color: var(--brand); flex: none;
}
.card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .96rem; }
.card .more { margin-top: auto; padding-top: 1rem; color: var(--gold-dark); font-weight: 600; font-size: .9rem; }

/* ---------- Service detail blocks ---------- */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; padding: 2.5rem 0; border-bottom: 1px solid rgba(43,38,34,.08); }
.service-detail:last-child { border-bottom: 0; }
.service-detail .steps { list-style: none; margin-top: 1.2rem; display: grid; gap: .7rem; counter-reset: step; }
.service-detail .steps li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink-soft); }
.service-detail .steps li::before {
  counter-increment: step; content: counter(step);
  width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--cream-2); color: var(--gold-dark);
  display: grid; place-items: center; font-weight: 700; font-size: .85rem; font-family: 'Playfair Display', serif;
}

/* ---------- Quote ---------- */
.quote-block {
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: var(--cream);
  border-radius: 28px; padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center; position: relative; overflow: hidden;
}
.quote-block::before {
  content: "“"; position: absolute; top: -1.5rem; left: 2rem;
  font-family: 'Playfair Display', serif; font-size: 12rem; color: rgba(242,183,5,.22); line-height: 1;
}
.quote-block q { font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(1.5rem, 3.5vw, 2.4rem); line-height: 1.4; display: block; }
.quote-block .by { margin-top: 1.6rem; color: var(--gold); font-weight: 600; letter-spacing: .04em; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.8rem; }
.why { text-align: center; }
.why .n { font-family: 'Playfair Display', serif; color: var(--gold); font-size: 1.1rem; letter-spacing: .1em; }
.why h3, .why h4 { font-size: 1.15rem; margin: .4rem 0 .5rem; font-weight: 600; }
.why p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Memberships ---------- */
.mem-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; margin-top: 1.6rem; list-style: none; }
.mem-list li {
  background: var(--white); border-radius: 14px; padding: 1rem 1.3rem;
  display: flex; gap: .8rem; align-items: center; box-shadow: var(--shadow-sm); font-weight: 500; font-size: .96rem;
}
.mem-list li svg { flex: none; color: var(--gold-dark); }

/* ---------- Pricing ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table th, .price-table td { padding: 1rem 1.3rem; text-align: left; border-bottom: 1px solid rgba(43,38,34,.07); }
.price-table th { background: var(--brand); color: var(--cream); font-weight: 600; font-size: .9rem; letter-spacing: .04em; }
.price-table td:last-child { text-align: right; font-weight: 600; color: var(--gold-dark); white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }
.price-note { font-size: .88rem; color: var(--ink-soft); margin-top: 1rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.gallery .item {
  aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm);
  background: linear-gradient(150deg, var(--cream-2), var(--rose-soft));
  display: grid; place-items: center; color: var(--gold-dark); position: relative;
}
.gallery .item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery .item:hover img { transform: scale(1.05); }
.gallery .item .ph { font-size: .82rem; text-align: center; padding: 1rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: 14px; margin-bottom: .9rem; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.2rem 1.4rem; font-size: 1.02rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: inherit; }
.faq-q .plus { flex: none; transition: transform .25s; color: var(--gold-dark); font-size: 1.4rem; line-height: 1; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--ink-soft); }
.faq-a div { padding: 0 1.4rem 1.2rem; }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,3.5rem); align-items: stretch; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 2.4rem; box-shadow: var(--shadow-sm); }
.info-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid rgba(43,38,34,.07); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--cream-2); color: var(--gold-dark); }
.info-row b { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); font-weight: 600; }
.info-row a, .info-row span { font-size: 1.02rem; color: var(--ink); font-weight: 500; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); min-height: 340px; }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }
.socials { display: flex; gap: .8rem; margin-top: 1.5rem; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); color: var(--ink); transition: .2s; }
.socials a:hover { background: var(--gold); color: #fff; }

/* ---------- Form ---------- */
.form-grid { display: grid; gap: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid rgba(43,38,34,.14); border-radius: 12px;
  font-family: inherit; font-size: .98rem; background: var(--white); color: var(--ink); transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .82rem; color: var(--ink-soft); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(135deg, var(--rose-soft), #FFF3CF); border-radius: 28px; padding: clamp(2.2rem,5vw,3.5rem); text-align: center; }
.cta-banner h2 { font-size: clamp(1.6rem,3.5vw,2.4rem); }
.cta-banner p { color: var(--ink-soft); margin: .8rem auto 1.6rem; max-width: 52ch; }

/* ---------- Footer ---------- */
footer { background: var(--brand); color: rgba(251,248,244,.7); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-grid .brand { color: var(--cream); margin-bottom: 1rem; }
.footer-grid .brand small { color: rgba(251,248,244,.6); }
.footer-grid h5 { color: var(--cream); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 600; font-family: 'Be Vietnam Pro'; }
.footer-grid a, .footer-grid p { color: rgba(251,248,244,.7); font-size: .94rem; display: block; margin-bottom: .55rem; transition: .2s; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(251,248,244,.12); padding-top: 1.5rem; text-align: center; }
.footer-bottom .disc { font-size: .82rem; max-width: 75ch; margin: 0 auto .6rem; color: rgba(251,248,244,.45); }

/* ---------- Floating actions ---------- */
.floats { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: flex; flex-direction: column; gap: .7rem; }
.floats a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.22); transition: .2s; }
.floats a:hover { transform: scale(1.08); }
.f-call { background: var(--brand); animation: pulse 2s infinite; }
.f-zalo { background: #0068FF; font-weight: 700; font-size: .82rem; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(42,14,156,.5)} 70%{box-shadow:0 0 0 14px rgba(42,14,156,0)} 100%{box-shadow:0 0 0 0 rgba(42,14,156,0)} }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .f-call { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .split, .contact-grid, .service-detail { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .media-box { max-width: 460px; margin-inline: auto; }
  .stats .grid { grid-template-columns: repeat(2,1fr); gap: 2rem; }
  .cards, .why-grid, .gallery { grid-template-columns: 1fr 1fr; }
  .portrait { max-width: 460px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); padding: 1.2rem 1.5rem; gap: 1rem; box-shadow: var(--shadow);
  }
  .cards, .why-grid, .mem-list, .gallery, .form-row-2, .footer-grid { grid-template-columns: 1fr; }
  .nav-cta .btn-ghost { display: none; }
}

/* ============================================================
   Nâng cấp theo chuẩn "luxury boutique" (Lijin Clinic)
   ============================================================ */

/* --- Whitespace & nhịp điệu thoáng hơn (ghi đè) --- */
.head-center { margin: 0 auto 3.6rem; }
.card { padding: 2.2rem 1.9rem; }
.hero { padding-top: clamp(3rem, 6vw, 5rem); }

/* --- Trust strip: đưa bằng chứng (proof) lên ngay dưới hero --- */
.trust-strip { background: var(--white); border-block: 1px solid rgba(42,14,156,.07); }
.trust-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.4rem; padding: 1.5rem 0; }
.trust-item { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--ink-soft); font-weight: 500; }
.trust-item svg { color: var(--brand); flex: none; }
.trust-item b { color: var(--ink); font-weight: 700; }
@media (max-width: 640px) { .trust-strip .wrap { gap: .8rem 1.4rem; } .trust-item { font-size: .84rem; } }

/* --- Lời nhắn cá nhân của bác sĩ (trust cảm xúc) --- */
.doctor-note { margin-top: 1.6rem; padding: 1.3rem 1.5rem; background: var(--cream-2); border-left: 3px solid var(--gold); border-radius: 0 14px 14px 0; }
.doctor-note p { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.08rem; color: var(--ink); line-height: 1.6; }
.doctor-note .sign { display: block; margin-top: .6rem; font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; color: var(--brand); font-size: .92rem; }

/* --- Thanh CTA cố định đáy màn (mobile) — bịt rò rỉ chuyển đổi --- */
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1.3fr; gap: .6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
    box-shadow: 0 -6px 22px rgba(42,14,156,.14);
  }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; padding: .7rem; border-radius: 12px; font-weight: 700; font-size: .96rem; }
  .mobile-cta .m-call { background: var(--cream-2); color: var(--brand); }
  .mobile-cta .m-book { background: var(--brand); color: #fff; }
  .floats { bottom: 84px; }   /* nâng nút Zalo lên trên thanh CTA */
  .floats .f-call { display: none; }   /* gọi đã có ở thanh đáy (tăng specificity để thắng .floats a) */
  body { padding-bottom: 72px; }
}

/* ============================================================
   Polish pass — sang trọng & ấn tượng hơn
   ============================================================ */

/* Hero: chữ nhấn chuyển sắc tím → vàng */
.hero h1 .accent {
  background: linear-gradient(100deg, var(--brand) 0%, var(--rose) 55%, var(--gold-dark) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--brand);
  font-style: italic;
}
/* Chân dung hero: viền sáng tinh tế + nổi khối hơn */
.portrait { box-shadow: var(--shadow), 0 0 0 6px rgba(255,255,255,.6); }
.portrait img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.portrait:hover img { transform: scale(1.03); }

/* Menu: gạch chân vàng trượt khi hover */
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: auto; bottom: -6px;
  height: 2px; width: 0; background: var(--gold); border-radius: 2px;
  transition: width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Tiêu đề section: dấu nhấn vàng nhỏ ở giữa (head-center) */
.head-center .section-title { position: relative; padding-bottom: 1rem; }
.head-center .section-title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 54px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
}

/* Ảnh trong media-box & gallery: zoom mềm khi hover */
.media-box { overflow: hidden; }
.media-box img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.media-box:hover img { transform: scale(1.04); }

/* Thẻ dịch vụ dạng ẢNH (ấn tượng hơn icon) */
.card.card-photo { padding: 0; overflow: hidden; }
.card.card-photo .card-top {
  width: 100%; aspect-ratio: 16 / 11; object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.card.card-photo:hover .card-top { transform: scale(1.06); }
.card.card-photo .card-body { padding: 1.6rem 1.8rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.card.card-photo .card-body h3 { margin-bottom: .45rem; }

/* Dải số liệu: vạch ngăn vàng mảnh + nền có chiều sâu */
.stats { position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(700px 300px at 50% -40%, rgba(242,183,5,.16), transparent 70%);
}
.stats .wrap { position: relative; z-index: 1; }
.stats .stat { position: relative; }
.stats .stat + .stat::before {
  content: ""; position: absolute; left: -.85rem; top: 50%; transform: translateY(-50%);
  width: 1px; height: 56px; background: rgba(242,183,5,.28);
}

/* CTA chính: hiệu ứng nhấn nhẹ khi hover */
.btn-gold { position: relative; }
.btn-gold:hover { box-shadow: 0 14px 30px rgba(42,14,156,.38); }

@media (max-width: 920px) { .stats .stat + .stat::before { display: none; } }

/* Chip chọn dịch vụ trong form (thay dropdown) */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.chip span { display: inline-block; padding: .55rem .95rem; border: 1.5px solid rgba(42,14,156,.22); border-radius: 100px; font-size: .9rem; font-weight: 500; color: var(--ink-soft); transition: .2s ease; }
.chip:hover span { border-color: var(--brand); color: var(--ink); }
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Dòng bảo mật cạnh nút gửi (icon khóa) */
.form-note.secure { display: flex; align-items: center; gap: .45rem; }
.form-note.secure svg { color: var(--brand); flex: none; }

/* Khu Trước & Sau lọc theo dịch vụ (CSS thuần, không JS) */
.ba-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2rem; }
.ba-filter label { cursor: pointer; }
.ba-filter input { position: absolute; opacity: 0; pointer-events: none; }
.ba-filter span { display: inline-block; padding: .55rem 1.1rem; border: 1.5px solid rgba(42,14,156,.22); border-radius: 100px; font-size: .92rem; font-weight: 600; color: var(--ink-soft); transition: .2s; }
.ba-filter label:hover span { border-color: var(--brand); color: var(--ink); }
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.ba-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--white); }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; }
.ba-pair > div { position: relative; aspect-ratio: 3/4; background: linear-gradient(150deg, var(--cream-2), var(--rose-soft)); display: grid; place-items: center; color: var(--brand); }
.ba-pair img { width: 100%; height: 100%; object-fit: cover; }
.ba-pair .ba-tag { position: absolute; top: .5rem; left: .5rem; background: rgba(255,255,255,.9); color: var(--ink); font-size: .72rem; font-weight: 700; padding: .2rem .5rem; border-radius: 6px; }
.ba-card .ba-cap { padding: .9rem 1.1rem; font-size: .9rem; color: var(--ink-soft); }
/* Lọc: ẩn thẻ không khớp danh mục đang chọn (CSS :checked + ~) */
#ba-all:checked    ~ .ba-grid .ba-card { display: block; }
#ba-nguc:checked   ~ .ba-grid .ba-card:not([data-cat~="nguc"]) { display: none; }
#ba-mong:checked   ~ .ba-grid .ba-card:not([data-cat~="mong"]) { display: none; }
#ba-body:checked   ~ .ba-grid .ba-card:not([data-cat~="body"]) { display: none; }
#ba-all:checked  ~ .ba-filter label[for="ba-all"]  span,
#ba-nguc:checked ~ .ba-filter label[for="ba-nguc"] span,
#ba-mong:checked ~ .ba-filter label[for="ba-mong"] span,
#ba-body:checked ~ .ba-filter label[for="ba-body"] span { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (max-width: 920px) { .ba-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ba-grid { grid-template-columns: 1fr; } }

/* Video YouTube (lite-embed: thumbnail + play, bấm mới tải iframe) */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.yt { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--white); transition: .3s ease; }
.yt:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.yt-facade { position: relative; aspect-ratio: 16/9; cursor: pointer; background: #000; border: 0; padding: 0; width: 100%; display: block; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: .4s ease; }
.yt-facade:hover img { opacity: 1; transform: scale(1.04); }
.yt-facade .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 60px; height: 60px; border-radius: 50%; background: rgba(229,9,20,.92); display: grid; place-items: center; transition: .25s ease; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.yt-facade:hover .play { transform: translate(-50%,-50%) scale(1.08); background: #e50914; }
.yt-facade .play::after { content: ""; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px; }
.yt-facade:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.yt iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.yt .cap { padding: .9rem 1.1rem 1.1rem; font-size: .94rem; font-weight: 600; color: var(--ink); line-height: 1.45; }
@media (max-width: 920px) { .video-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .video-grid { grid-template-columns: 1fr; } }

/* Lọc video theo chủ đề (CSS thuần) */
.vfilter { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.2rem; }
.vfilter label { cursor: pointer; }
.vfilter input { position: absolute; opacity: 0; pointer-events: none; }
.vfilter span { display: inline-block; padding: .55rem 1.1rem; border: 1.5px solid rgba(42,14,156,.22); border-radius: 100px; font-size: .92rem; font-weight: 600; color: var(--ink-soft); transition: .2s; }
.vfilter label:hover span { border-color: var(--brand); color: var(--ink); }
#vf-nguc:checked ~ .video-grid .yt:not([data-cat~="nguc"]),
#vf-body:checked ~ .video-grid .yt:not([data-cat~="body"]),
#vf-mong:checked ~ .video-grid .yt:not([data-cat~="mong"]) { display: none; }
#vf-all:checked  ~ .vfilter label[for="vf-all"]  span,
#vf-nguc:checked ~ .vfilter label[for="vf-nguc"] span,
#vf-body:checked ~ .vfilter label[for="vf-body"] span,
#vf-mong:checked ~ .vfilter label[for="vf-mong"] span { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Nút chuyển ngôn ngữ VI/EN */
.lang { font-size: .82rem; font-weight: 700; letter-spacing: .03em; color: var(--ink-soft); border: 1.5px solid rgba(42,14,156,.22); border-radius: 100px; padding: .42rem .7rem; transition: .2s; }
.lang:hover { border-color: var(--brand); color: var(--brand); }

/* ============================================================
   LỚP HIỆN ĐẠI 2026 — progressive enhancement
   (View Transitions · scroll-driven · dark mode · fluid type)
   ============================================================ */

/* 1) Form controls dùng màu thương hiệu */
:root { accent-color: var(--brand); color-scheme: light dark; }

/* 2) Typography 2026: cân chữ tiêu đề, làm đẹp đoạn văn */
h1, h2, h3, .section-title, .hero h1, .page-hero h1 { text-wrap: balance; }
p, .lead, .card p, .why p { text-wrap: pretty; }

/* 3) View Transitions API — chuyển trang mượt (Chromium) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out .28s ease both; }
  ::view-transition-new(root) { animation: vt-in .34s ease both; }
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in  { from { opacity: 0; transform: translateY(10px); } }
header { view-transition-name: site-header; }
.floats, .mobile-cta { view-transition-name: site-floats; }

/* 4) Scroll-driven animation — thanh tiến trình đọc (không cần JS) */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    body::before {
      content: ""; position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200;
      transform-origin: 0 50%; transform: scaleX(0);
      background: linear-gradient(90deg, var(--brand), var(--gold));
      animation: scroll-progress linear both; animation-timeline: scroll(root);
    }
  }
}
@keyframes scroll-progress { to { transform: scaleX(1); } }

/* 5) DARK MODE — MẶC ĐỊNH (html.dark), đổi sáng bằng nút ☀/🌙 (lưu localStorage) */
html.dark {
  --cream: #0E0B1A;
  --cream-2: #16122C;
  --ink: #ECEAF6;
  --ink-soft: #ADA6C8;
  --white: #1A1535;
  --brand: #6B4DF0;
  --brand-2: #8A6CFF;
  --gold: #F4C23C;
  --gold-dark: #E6AE34;
  --rose: #8A6CFF;
  --rose-soft: #241C46;
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --shadow-sm: 0 8px 24px rgba(0,0,0,.42);
}
html.dark header { background: rgba(14,11,26,.72); border-bottom-color: rgba(255,255,255,.08); }
html.dark .mobile-cta { background: rgba(20,17,46,.96); box-shadow: 0 -6px 22px rgba(0,0,0,.5); }
html.dark .stats { background: #120E28; }
html.dark footer { background: #0A0818; }
html.dark .btn-ghost { color: var(--ink); border-color: rgba(255,255,255,.22); }
html.dark .btn-ghost:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
html.dark .portrait { box-shadow: var(--shadow), 0 0 0 6px rgba(255,255,255,.06); }
html.dark .lang { color: var(--ink-soft); border-color: rgba(255,255,255,.2); }
html.dark .chip span, html.dark .ba-filter span, html.dark .vfilter span { border-color: rgba(255,255,255,.18); }
html.dark .price-table th { background: var(--brand); }

/* Nút đổi sáng/tối */
.theme-toggle { display: inline-grid; place-items: center; width: 38px; height: 38px; font-size: 1rem; line-height: 1; background: none; border: 1.5px solid rgba(42,14,156,.22); border-radius: 100px; cursor: pointer; transition: .2s; padding: 0; }
.theme-toggle:hover { border-color: var(--brand); }
html.dark .theme-toggle { border-color: rgba(255,255,255,.2); }

/* 6) BENTO GRID — bố cục ô khối hiện đại (ô đầu nổi bật) */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.bento .why { background: var(--white); border: 1px solid rgba(42,14,156,.06); border-radius: var(--radius); padding: 1.8rem; text-align: left; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.bento .why:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.bento .why h4, .bento .why h3 { margin-top: .5rem; }
.bento .why:first-child { grid-column: span 2; grid-row: span 1; background: linear-gradient(140deg, var(--brand), var(--brand-2)); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.bento .why:first-child .n { color: var(--gold); }
.bento .why:first-child h3, .bento .why:first-child h4 { color: #fff; font-size: 1.4rem; }
.bento .why:first-child p { color: rgba(255,255,255,.88); font-size: 1rem; }
html.dark .bento .why { border-color: rgba(255,255,255,.08); }
@media (max-width: 920px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .why:first-child { grid-column: span 2; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento .why:first-child { grid-column: span 1; } }

/* 7) Trang đọc bài viết (Kiến thức / Blog) */
.article { max-width: 760px; margin-inline: auto; }
.article h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.18; margin-bottom: 1.2rem; }
.article h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 2.2rem 0 .8rem; }
.article h3 { font-size: 1.15rem; margin: 1.4rem 0 .5rem; }
.article p { color: var(--ink-soft); margin-bottom: 1.1rem; font-size: 1.05rem; }
.article strong { color: var(--ink); }
.article ul { margin: 0 0 1.1rem 1.2rem; color: var(--ink-soft); display: grid; gap: .5rem; }
.article ul li { padding-left: .2rem; }
.article .img-ph { display: flex; align-items: center; gap: .7rem; margin: 1.4rem 0; padding: 1rem 1.2rem; border: 1.5px dashed rgba(42,14,156,.28); border-radius: 14px; background: var(--cream-2); color: var(--ink-soft); font-size: .92rem; font-style: italic; }
.article .img-ph svg { flex: none; color: var(--gold-dark); }
html.dark .article .img-ph { border-color: rgba(255,255,255,.18); }
.article-meta { color: var(--ink-soft); font-size: .9rem; margin-bottom: 1.6rem; }
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 2rem 0 .5rem; padding-top: 1.2rem; border-top: 1px solid rgba(42,14,156,.12); }
.share-bar .lbl { font-size: .9rem; font-weight: 600; color: var(--ink-soft); margin-right: .2rem; }
.share-bar a, .share-bar button { display: inline-flex; align-items: center; gap: .4rem; font-family: inherit; font-size: .86rem; font-weight: 600; padding: .5rem .9rem; border-radius: 100px; border: 1.5px solid rgba(42,14,156,.2); background: none; color: var(--ink); cursor: pointer; transition: .2s; text-decoration: none; }
.share-bar a:hover, .share-bar button:hover { border-color: var(--brand); color: var(--brand); }
.share-bar .s-fb:hover { background: #1877F2; border-color: #1877F2; color: #fff; }
.share-bar .s-zl:hover { background: #0068FF; border-color: #0068FF; color: #fff; }
html.dark .share-bar { border-top-color: rgba(255,255,255,.12); }
html.dark .share-bar a, html.dark .share-bar button { border-color: rgba(255,255,255,.2); }
figure.article-img { margin: 1.6rem 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
figure.article-img img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
figure.article-img figcaption { font-size: .82rem; color: var(--ink-soft); padding: .5rem .2rem 0; font-style: italic; }

/* ============================================================
   8) "LUNG LINH" — hiệu ứng sang & ấn tượng (giữ tiết chế)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  /* Hero: nền aurora chuyển động chậm */
  .hero::before {
    background:
      radial-gradient(1100px 560px at 82% -8%, var(--rose-soft) 0%, transparent 55%),
      radial-gradient(840px 460px at -8% 18%, #FFF3CF 0%, transparent 52%),
      radial-gradient(700px 520px at 60% 110%, color-mix(in srgb, var(--brand) 22%, transparent) 0%, transparent 60%);
    background-size: 160% 160%;
    animation: aurora 18s ease-in-out infinite alternate;
  }
  /* Chữ nhấn hero lấp lánh chuyển sắc */
  .hero h1 .accent { background-size: 220% auto; animation: shimmer 7s linear infinite; }
  /* Logo VS ánh kim nhẹ */
  .brand .mark { background-size: 180% 180%; animation: aurora 9s ease-in-out infinite alternate; }
}
@keyframes aurora { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
@keyframes shimmer { to { background-position: 220% center; } }

/* Glow mềm khi hover thẻ (ring vàng tinh tế) */
.card:hover, .blog-card:hover, .bento .why:hover, .yt:hover, .service-detail .media-box:hover {
  box-shadow: var(--shadow), 0 0 0 1px rgba(242,183,5,.22);
}
html.dark .card:hover, html.dark .blog-card:hover, html.dark .bento .why:hover, html.dark .yt:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 24px rgba(138,108,255,.22), 0 0 0 1px rgba(244,194,60,.25);
}
/* Số liệu phát sáng nhẹ trên nền tối */
html.dark .stat b { text-shadow: 0 0 18px rgba(244,194,60,.35); }
/* Nút vàng: ánh sáng quét khi hover (light sweep) */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); transition: left .6s ease;
}
.btn-gold:hover::after { left: 140%; }
/* Trust strip & bento ô đầu: viền gradient tinh tế */
.bento .why:first-child { box-shadow: var(--shadow-sm), 0 0 30px rgba(106,77,240,.28); }

/* ============================================================
   9) THƯ VIỆN ẢNH co giãn (masonry) + lightbox — chứa 200-500+ ảnh
   ============================================================ */
.masonry { columns: 5 220px; column-gap: 12px; }
.masonry a.lb-item { display: block; margin: 0 0 12px; break-inside: avoid; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); cursor: zoom-in; position: relative; }
.masonry a.lb-item img { width: 100%; display: block; transition: transform .45s ease; background: var(--cream-2); }
.masonry a.lb-item:hover img { transform: scale(1.05); }
@media (max-width: 920px) { .masonry { columns: 3 160px; } }
@media (max-width: 560px) { .masonry { columns: 2 130px; column-gap: 8px; } }

.lb { position: fixed; inset: 0; z-index: 300; background: rgba(8,6,18,.94); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lb.open { display: flex; }
.lb img { max-width: 94vw; max-height: 88vh; border-radius: 10px; box-shadow: 0 24px 70px rgba(0,0,0,.6); }
.lb button { background: none; border: 0; color: #fff; cursor: pointer; position: absolute; }
.lb .lb-close { top: 1rem; right: 1.3rem; font-size: 2.2rem; line-height: 1; }
.lb .lb-nav { top: 50%; transform: translateY(-50%); font-size: 2.6rem; padding: 1rem 1.2rem; opacity: .8; }
.lb .lb-nav:hover { opacity: 1; }
.lb .lb-prev { left: .3rem; } .lb .lb-next { right: .3rem; }
.lb .lb-count { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: .9rem; }
@media (prefers-reduced-motion: no-preference) { .lb.open img { animation: lb-in .25s ease; } }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* Lưới blog (kien-thuc) */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid rgba(42,14,156,.06); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-card .tag { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .6rem; }
.blog-card h3 { font-size: 1.18rem; line-height: 1.3; margin-bottom: .5rem; }
.blog-card p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.blog-card .more { margin-top: 1rem; color: var(--gold-dark); font-weight: 600; font-size: .9rem; }
html.dark .blog-card { border-color: rgba(255,255,255,.08); }
@media (max-width: 920px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }


/* ===== News cover images (báo style) — thêm 2026-06-22 ===== */
.blog-card .card-cover{width:100%;aspect-ratio:1200/630;object-fit:cover;border-radius:10px;display:block;margin-bottom:.85rem;background:linear-gradient(135deg,#2A0E9C,#1B0A6B);}
.blog-card.feat .card-cover{aspect-ratio:1200/520;}
.news-hero-img{width:100%;aspect-ratio:1200/500;object-fit:cover;border-radius:16px;display:block;margin:1rem 0;box-shadow:0 10px 40px rgba(0,0,0,.25);}
.article-hero-img{width:100%;aspect-ratio:1200/500;object-fit:cover;border-radius:14px;display:block;margin:.4rem 0 1.4rem;}


/* ===== Mega-menu Dịch vụ (kiểu báo/bệnh viện) — 2026-06-22 ===== */
.nav-mega{position:relative;display:inline-flex;align-items:center;}
.nav-mega-btn{background:none;border:0;color:inherit;font:inherit;cursor:pointer;padding:0;display:inline-flex;align-items:center;gap:.25rem;}
.nav-mega-btn::after{content:"▾";font-size:.8em;opacity:.8;}
.nav-mega-panel{display:none;position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%);
  min-width:600px;background:var(--card,#15122b);border:1px solid rgba(242,183,5,.25);
  border-radius:14px;padding:1.1rem 1.2rem;grid-template-columns:repeat(3,1fr);gap:.4rem 1.4rem;
  box-shadow:0 20px 60px rgba(0,0,0,.45);z-index:200;}
.nav-mega:hover .nav-mega-panel,.nav-mega.open .nav-mega-panel{display:grid;}
.nav-mega-panel h5{margin:.1rem 0 .5rem;color:var(--gold,#F2B705);font-size:.82rem;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid rgba(242,183,5,.2);padding-bottom:.35rem;}
.nav-mega-panel a{display:block;padding:.34rem 0;font-size:.95rem;opacity:.9;border:0;}
.nav-mega-panel a:hover{color:var(--gold,#F2B705);opacity:1;}
@media (max-width:980px){
  .nav-mega{display:block;width:100%;}
  .nav-mega-btn{width:100%;justify-content:space-between;padding:.5rem 0;}
  .nav-mega-panel{position:static;transform:none;min-width:0;width:100%;grid-template-columns:1fr;
    box-shadow:none;border:0;border-left:2px solid rgba(242,183,5,.3);border-radius:0;margin:.2rem 0 .4rem .4rem;padding:.2rem 0 .2rem .8rem;background:transparent;}
  .nav-mega.open .nav-mega-panel{display:block;}
  .nav-mega-panel h5{margin-top:.6rem;}
}

/* fix: ép link trong mega-panel xuống dòng (thắng .nav-links a) */
.nav-links .nav-mega-panel a{display:block !important;width:auto;margin:0;}
.nav-links .nav-mega-panel h5{display:block;width:100%;}

/* ===== Facebook integration ===== */
.floats .f-fb{background:#1877F2;color:#fff;font-weight:700;}
.fb-connect{padding:2.4rem 0;}
.fb-connect .fb-wrap{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:center;justify-content:center;}
.fb-connect .fb-page{max-width:100%;}
.fb-cta{display:flex;flex-direction:column;gap:.7rem;max-width:340px;}
.fb-cta a.btn-fb{background:#1877F2;color:#fff;padding:.7rem 1.1rem;border-radius:10px;text-decoration:none;font-weight:600;text-align:center;display:block;}
.fb-cta a.btn-fb.alt{background:rgba(24,119,242,.15);color:#1877F2;border:1px solid #1877F2;}
