/* =========================================================
   SuKienHay.vn — Visual Design System v3 (Bootstrap 5)
   Font: Roboto (toàn site) | Tone: theo logo S✦H — navy → Royal Indigo → Sunset Orange
   Cỡ chữ: dùng thang --fs-* khai báo trong :root, không đặt số rời
   ========================================================= */

/* Bảng màu (Canva "BẢN SỬA WEB" trang 15):
     Primary   Royal Indigo   #4B2DBF — nút chính, link active, hover, viền focus
     Accent    Electric Cyan  #00A3E0 — điểm nhấn, icon tiện ích, tag nổi bật
               Sunset Orange  #FF6B35 — "Đăng ký ngay", nhãn Hot/Sắp diễn ra, badge
     Nền       #FFFFFF / #F8F9FD (section, input) / #E4E7F2 (viền)
     Chữ       #1A202C thân bài · #64748B phụ · gradient #0E1738→#4B2DBF→#FF6B35 cho tiêu đề section
   Tên biến --blue-* giữ nguyên để không phải sửa hàng trăm luật đang dùng, nhưng giá trị nay
   là thang Royal Indigo: --blue-600 CHÍNH LÀ màu primary. */
:root {
    --navy-950: #070b1d;
    --navy-900: #0b1230;
    --navy-800: #0e1738;
    --navy-700: #1f1a5e;
    --blue-700: #3a22a3;
    --blue-600: #4b2dbf;
    --blue-500: #6a4fe0;
    --blue-400: #8f7cf0;
    --blue-300: #c4b8ff;
    --cyan: #00a3e0;
    --orange: #ff6b35;

    --ink: #1a202c;
    --ink-2: #2d3648;
    --muted: #64748b;
    --line: #e4e7f2;
    --line-2: #eef0f7;

    --bg: #ffffff;
    --bg-soft: #f8f9fd;
    --bg-soft-2: #f1eefc;
    --card: #ffffff;

    /* Gradient tiêu đề section — đúng công thức trong bảng màu, lặp lại màu logo. */
    --grad-heading: linear-gradient(90deg, #0e1738 0%, #4b2dbf 60%, #ff6b35 100%);
    --grad-brand: var(--grad-heading);
    /* Nút / trạng thái active: Royal Indigo, chỉ nhích sáng ở góc cho có khối. */
    --grad-brand-2: linear-gradient(135deg, #5b3dd6, #4b2dbf 60%, #3f25a8);
    /* Các dải nền tối (thanh trên cùng, thanh sự kiện, khối số liệu, CTA, footer) theo gradient
       logo. Cam chỉ chạm tới ở mép phải (điểm dừng >100%) để chữ trắng vẫn đọc được trên đó. */
    --grad-bar: linear-gradient(100deg, #0e1738 0%, #2a1c86 42%, #4b2dbf 72%, #ff6b35 125%);
    --grad-dark: radial-gradient(900px 480px at 12% -10%, rgba(75,45,191,.42), transparent 55%),
                 radial-gradient(820px 520px at 96% 0%, rgba(255,107,53,.22), transparent 55%),
                 linear-gradient(165deg, #0e1738 0%, #070b1d 100%);
    --grad-soft: linear-gradient(180deg, #ffffff 0%, #f8f9fd 100%);

    --shadow-sm: 0 8px 24px -16px rgba(14,23,56,.5);
    --shadow: 0 26px 60px -30px rgba(14,23,56,.45);
    --shadow-lg: 0 40px 90px -44px rgba(14,23,56,.6);
    --shadow-blue: 0 22px 44px -18px rgba(75,45,191,.55);

    --r-xl: 28px;
    --r-lg: 20px;
    --r-md: 14px;
    --ease: cubic-bezier(.22, .61, .36, 1);

    /* Chữ: toàn site dùng một mình Roboto cho dễ đọc. Bản trước tách vai trò display/body với
       Be Vietnam Pro cho tiêu đề; đã bỏ theo yêu cầu. Vẫn giữ HAI biến (thay vì gộp làm một)
       để các luật `font-family: var(--font-display)` rải trong file và class .font-display
       trong Blade không phải sửa theo, và để đổi lại font tiêu đề sau này chỉ mất một dòng.
       Phân cấp tiêu đề/thân bài giờ dựa vào cân chữ và cỡ chữ, không còn dựa vào khác họ font. */
    --font-display: "Roboto", system-ui, sans-serif;
    --font-body: "Roboto", system-ui, sans-serif;
    --bs-body-font-family: var(--font-body);

    /* Thang chữ. Trước đây có 44 giá trị font-size rời rạc (.87/.875/.88/.9/.91/.92/.93…),
       nhiều cặp chênh nhau 0.01rem — mắt không thấy khác nhưng tổng thể mất cảm giác chủ đích.
       Mọi khai báo font-size trong file này phải dùng một trong các bậc dưới đây. */
    --fs-3xs: .68rem;    /* nhãn siêu nhỏ, viết hoa + giãn chữ (TH07, chip danh mục) */
    --fs-2xs: .75rem;    /* eyebrow, badge */
    --fs-xs: .82rem;     /* meta phụ, nhãn form */
    --fs-sm: .9rem;      /* meta, link footer, caption */
    --fs-base: 1rem;     /* thân bài */
    --fs-md: 1.12rem;    /* lead, tiêu đề card */
    --fs-lg: 1.3rem;     /* h4, số nhỏ */
    --fs-xl: 1.55rem;    /* icon tròn, h3 */
    --fs-2xl: 1.75rem;   /* icon lớn */

    /* Cỡ hiển thị — co giãn theo viewport */
    --fs-d1: clamp(1.9rem, 4vw, 3rem);      /* h1 trang trong, h2 section, số thống kê */
    --fs-d2: clamp(1.7rem, 3.4vw, 2.6rem);
    --fs-d3: clamp(1.4rem, 2.6vw, 2rem);    /* h1 banner (câu dài), tiêu đề khối nhỏ */
    --fs-d4: clamp(1.25rem, 2.2vw, 1.6rem);
}

* { -webkit-font-smoothing: antialiased; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    overflow-x: clip;
    line-height: 1.6;
}
/* Chống tràn ngang trên mobile: hàng dùng gutter lớn (g-5 = 3rem) có margin âm
   -24px, vượt padding 12px của .container → lòi 12px mỗi bên khi màn full-width.
   Giới hạn gutter ngang để margin âm không lớn hơn padding container. */
@media (max-width: 1199.98px) {
    .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
}
h1, h2, h3, h4, h5, .font-display {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    color: var(--ink);
}
a { text-decoration: none; transition: color .35s var(--ease); }
img { max-width: 100%; }

.container-wide { max-width: 1240px; }
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section-tight { padding: clamp(3rem, 5vw, 5rem) 0; }
.section--soft { background: var(--grad-soft); }
.section--soft-2 { background: var(--bg-soft); }
.text-muted-2 { color: var(--muted) !important; }
.lead-2 { font-size: var(--fs-md); color: var(--muted); line-height: 1.75; }
.fw-900 { font-weight: 900; }

.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .025;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.text-gradient { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.on-dark .text-gradient, .text-gradient.on-dark { background: linear-gradient(100deg, #c4b8ff 0%, #8f7cf0 50%, #ff8f63 100%);
    -webkit-background-clip: text; background-clip: text; }

/* ---------- Eyebrow ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px;
    padding: .42rem .95rem; font-size: var(--fs-2xs); font-weight: 700; text-transform: uppercase;
    letter-spacing: .16em; color: var(--blue-700);
    background: linear-gradient(120deg, rgba(0,163,224,.14), rgba(75,45,191,.14));
    border: 1px solid rgba(75,45,191,.2); }
.eyebrow.on-dark { color: #e6e0ff; background: rgba(196,184,255,.1); border-color: rgba(196,184,255,.22); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad-brand); }

/* ---------- Buttons ---------- */
.btn-pill { display: inline-flex; align-items: center; gap: .6rem; border-radius: 999px;
    padding: .85rem .85rem .85rem 1.55rem; font-weight: 700; font-size: var(--fs-base); border: none; cursor: pointer;
    background: var(--grad-brand-2); color: #fff; box-shadow: var(--shadow-blue);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), filter .45s var(--ease); }
.btn-pill .ico { width: 2.05rem; height: 2.05rem; border-radius: 50%; background: rgba(255,255,255,.2);
    display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-md);
    transition: transform .45s var(--ease), background .45s var(--ease); }
.btn-pill:hover { color: #fff; filter: brightness(1.07); transform: translateY(-2px); box-shadow: 0 28px 50px -18px rgba(75,45,191,.7); }
.btn-pill:hover .ico { transform: translate(3px,-2px) scale(1.08); background: rgba(255,255,255,.32); }
.btn-pill:active { transform: scale(.97); }
.btn-pill.btn-light-pill { background: #fff; color: var(--blue-700); box-shadow: var(--shadow-sm); }
.btn-pill.btn-light-pill .ico { background: rgba(75,45,191,.14); color: var(--blue-700); }

/* Nút phụ. Luôn đứng cạnh một nút chính (.btn-pill) hoặc làm liên kết "Xem tất cả" ở đầu
   khối nội dung, nên cố tình nhỏ hơn một bậc: cùng đệm .78rem và chữ 1rem như .btn-pill thì
   hai nút nặng ngang nhau và mắt không biết đâu là hành động chính. */
.btn-ghost { display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px;
    padding: .5rem 1.15rem; font-weight: 700; font-size: var(--fs-sm); color: var(--ink); background: #fff; border: 1px solid var(--line);
    transition: transform .4s var(--ease), border-color .4s var(--ease), color .35s var(--ease), box-shadow .4s var(--ease), background-color .35s var(--ease); }
/* Trỏ chuột: cả ô đổi sang màu chính Royal Indigo (Canva trang 17, 20). */
.btn-ghost:hover { color: #fff; background: var(--blue-600); border-color: var(--blue-600); transform: translateY(-2px); box-shadow: var(--shadow-blue); }
.btn-ghost.on-dark { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); color: #fff; }
.btn-ghost.on-dark:hover { color: #fff; border-color: rgba(196,184,255,.55); }

/* ---------- Double-bezel ---------- */
.bezel { background: linear-gradient(160deg, rgba(75,45,191,.07), rgba(14,23,56,.04)); border: 1px solid var(--line);
    border-radius: var(--r-xl); padding: 8px; }
.bezel-inner { background: var(--card); border-radius: calc(var(--r-xl) - 8px);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.7); height: 100%; overflow: hidden; }
.lift { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.lift:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

/* ---------- Navbar ---------- */

/* thanh nền trải full chiều ngang, nội dung gom vào giữa */
.nav-container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 1.75rem); }

/* Dải thông tin trên cùng — nằm ngoài .site-nav nên cuộn đi mất cùng trang.
   Chỉ hiện từ lg trở lên (đã gắn .d-none .d-lg-block trong Blade): trên điện thoại
   email + địa chỉ + mạng xã hội đã có sẵn trong menu trượt. */
.nav-top { background: var(--grad-bar);
    color: rgba(255,255,255,.86); font-size: var(--fs-xs); }
.nav-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    min-height: 38px; padding: .35rem 0; }
.nt-slogan { margin: 0; display: inline-flex; align-items: center; gap: .45rem; font-weight: 500;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-slogan .ph { color: var(--cyan); font-size: var(--fs-sm); }
.nt-right { display: flex; align-items: center; gap: .8rem; flex: 0 0 auto; }
.nt-right a, .nt-plain { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.78); }
.nt-right a:hover { color: #fff; }
.nt-right .ph { font-size: var(--fs-sm); }
.nt-sep { width: 1px; height: 14px; background: rgba(255,255,255,.22); }
.nt-social { display: inline-flex; align-items: center; gap: .3rem; }
.nt-social a { width: 26px; height: 26px; border-radius: 50%; justify-content: center;
    background: rgba(255,255,255,.08); transition: background .3s var(--ease), color .3s var(--ease); }
.nt-social a:hover { background: var(--cyan); color: var(--navy-900); }

.site-nav { position: sticky; top: 0; z-index: 1030;
    backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
    background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(14,23,56,.1);
    transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.nav-shell { padding: .55rem 0; gap: 1rem; transition: padding .35s var(--ease); }
.site-nav.scrolled { background: rgba(255,255,255,.98); border-bottom-color: rgba(14,23,56,.12);
    box-shadow: 0 8px 24px -14px rgba(14,23,56,.35); }
.site-nav.scrolled .nav-shell { padding: .35rem 0; }
.nav-logo img { height: 42px; transition: transform .4s var(--ease); }
.nav-logo:hover img { transform: scale(1.04); }

/* Nhóm hành động bên phải. Vạch ngăn tách "điều hướng" khỏi "tài khoản + hotline" để mắt
   không phải đọc hết cả dãy mới biết đâu là menu, đâu là nút bấm. */
.nav-actions { gap: .6rem; flex: 0 0 auto; }
.nav-actions::before { content: ""; width: 1px; height: 26px; background: var(--line); flex: 0 0 auto; }
@media (max-width: 991.98px) { .nav-actions::before { display: none; } }

/* nút hotline gọn hơn cho vừa thanh menu */
.nav-cta-desktop.btn-pill { padding: .42rem .42rem .42rem 1.05rem; font-size: var(--fs-sm); gap: .45rem;
    box-shadow: 0 10px 22px -12px rgba(75,45,191,.65); }
.nav-cta-desktop.btn-pill .ico { width: 1.6rem; height: 1.6rem; font-size: var(--fs-sm); }
.nav-cta-desktop.btn-pill:hover { box-shadow: 0 16px 30px -14px rgba(75,45,191,.7); }

.nav-links { display: flex; align-items: center; gap: .15rem; }
.nav-links > li { position: relative; }
.nav-links > li > a { position: relative; display: inline-flex; align-items: center; gap: .3rem;
    padding: .55rem .85rem; border-radius: 12px; color: var(--ink-2); font-weight: 600; font-size: var(--fs-sm);
    white-space: nowrap; transition: background .3s var(--ease), color .3s var(--ease); }
/* Gạch chân bám theo bề rộng của chính mục, không phải một đoạn 22px cố định:
   mục "Sản phẩm – Dịch vụ" dài gấp ba "Trang chủ" nên vạch cố định trông như đặt lệch. */
.nav-links > li > a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem;
    height: 2px; border-radius: 2px; background: var(--grad-brand-2);
    transform: scaleX(0); transform-origin: center; transition: transform .35s var(--ease); }
.nav-links > li > a:hover { color: var(--blue-700); background: var(--bg-soft); }
.nav-links > li > a:hover::after { transform: scaleX(.5); }
.nav-links > li.active > a { color: var(--blue-700); font-weight: 700;
    background: linear-gradient(120deg, rgba(0,163,224,.12), rgba(75,45,191,.12)); }
.nav-links > li.active > a::after { transform: scaleX(1); }
.nav-links > li > a .caret { font-size: .7rem; opacity: .65; transition: transform .35s var(--ease); }
.nav-dropdown:hover > a .caret { transform: rotate(180deg); opacity: 1; }

/* Laptop 13" (992–1199px) là chỗ chật nhất: menu ngang đã hiện đầy đủ nhưng chỉ còn ~1100px
   cho logo + 6 mục + tài khoản + hotline. Không bóp lại ở đây thì hàng bị tràn, và vì
   <html> có overflow-x:clip nên nó không sinh thanh cuộn mà cắt cụt luôn nút hotline. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .nav-links > li > a { padding: .5rem .5rem; font-size: var(--fs-xs); }
    .nav-links > li > a::after { left: .5rem; right: .5rem; }
    .nav-actions { gap: .4rem; }
    .nav-actions::before { display: none; }
    .nav-cta-desktop.btn-pill { padding-left: .8rem; }
    .nav-auth { gap: .3rem; }
}

/* ---------- Mega menu ---------- */
.nav-dropdown { position: relative; }
/* Vùng đệm vô hình nối mục menu với bảng xổ: không có nó, khoảng hở .6rem làm :hover đứt
   giữa chừng và bảng đóng sập ngay khi chuột đang đi xuống. */
.nav-dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: .7rem; }
.nav-menu { position: absolute; top: calc(100% + .6rem); left: 50%; transform: translateX(-50%) translateY(10px);
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg); padding: .9rem; z-index: 40;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s var(--ease); }
.nav-menu::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px;
    background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line);
    transform: translateX(-50%) rotate(45deg); border-radius: 2px 0 0 0; }
.nav-dropdown:hover .nav-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* Bề rộng đặt CỐ ĐỊNH chứ không max-content: để nội dung tự co thì bảng chỉ rộng bằng mục
   dài nhất (~380px), không đủ chỗ cho hai track 240px nên lưới auto-fit rơi về một cột và
   danh sách 9 danh mục kéo dài quá đáy màn hình. Vẫn kẹp theo viewport để bảng ở mục ngoài
   cùng không thò ra ngoài màn hình 1024px và đẩy trang trôi ngang. */
.nav-mega { width: min(560px, calc(100vw - 3rem)); }
.nm-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
    padding: 0 .5rem .7rem; margin-bottom: .55rem; border-bottom: 1px dashed var(--line); }
.nm-title { font-size: var(--fs-2xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nm-all { display: inline-flex; align-items: center; gap: .3rem; font-size: var(--fs-xs); font-weight: 700; color: var(--blue-600); }
.nm-all:hover { color: var(--blue-700); gap: .5rem; }
.nm-all .ph { transition: transform .3s var(--ease); }
/* auto-fit chứ không cố định 2 cột: danh mục ít (vd Tin tức chỉ có 1–2 chuyên mục) thì track
   rỗng bị gộp lại, tránh nửa bảng trống trơn. */
.nm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .15rem; }
.nav-menu a { display: flex; align-items: center; gap: .65rem; padding: .55rem .5rem; border-radius: 12px;
    color: var(--ink-2); font-size: var(--fs-sm); font-weight: 500;
    transition: background .3s var(--ease), color .3s var(--ease); }
.nav-menu a:hover { background: var(--bg-soft); color: var(--blue-700); }
.nm-ic { flex: 0 0 auto; width: 2.1rem; height: 2.1rem; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-md);
    background: var(--bg-soft-2); color: var(--blue-600);
    transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.nav-menu a:hover .nm-ic { background: var(--grad-brand-2); color: #fff; box-shadow: var(--shadow-blue); }
.nm-name { min-width: 0; font-weight: 700; color: var(--ink); line-height: 1.3; }
.nav-menu a:hover .nm-name { color: var(--blue-700); }

/* Nút "Đăng ký" viền — cạnh nút hotline đặc màu, dùng nút đặc thứ hai sẽ thành hai khối
   cùng sức nặng cạnh nhau và không còn hành động nào nổi lên. */
.btn-nav-outline { display: inline-flex; align-items: center; border-radius: 999px;
    padding: .45rem 1rem; border: 1px solid rgba(75,45,191,.4); color: var(--blue-700);
    font-weight: 700; font-size: var(--fs-sm); white-space: nowrap;
    transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.btn-nav-outline:hover { color: var(--blue-700); background: var(--bg-soft-2); border-color: var(--blue-500); transform: translateY(-1px); }

.nav-burger { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
    display: none; align-items: center; justify-content: center; cursor: pointer; }
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: .4s var(--ease); }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: .4s var(--ease); }
.nav-burger span::before { top: -6px; } .nav-burger span::after { top: 6px; }
body.menu-open .nav-burger span { background: transparent; }
body.menu-open .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Thanh sự kiện chạy ngang (ngay dưới menu) ---------- */
/* Nằm TRONG .site-nav nên dính đỉnh cùng thanh menu — sự kiện nổi bật luôn trong tầm mắt
   dù người dùng đã cuộn sâu. Đổi lại phần dính cao thêm ~40px, nên thanh này cố tình mỏng. */
.nav-ticker { background: var(--grad-bar);
    color: rgba(255,255,255,.9); border-top: 1px solid rgba(255,255,255,.07); overflow: hidden; }
/* Menu trượt mobile nằm DƯỚI .site-nav (z-index 1029 < 1030) nên thanh này sẽ nổi đè lên
   lớp phủ; ẩn đi khi menu mở, đồng thời trả .site-nav về đúng chiều cao mà .mo-scroll
   đã chừa sẵn bằng padding-top. */
body.menu-open .nav-ticker { display: none; }

.tk-row { display: flex; align-items: center; gap: .75rem; height: 40px; }
.tk-label { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .4rem;
    padding: .22rem .7rem; border-radius: 999px; background: var(--grad-brand-2);
    color: #fff; font-size: var(--fs-2xs); font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
    box-shadow: 0 8px 18px -10px rgba(75,45,191,.9); }
.tk-label .ph { font-size: var(--fs-sm); }

/* Cửa sổ nhìn. mask làm hai mép mờ dần để chữ không bị "chặt cụt" ở biên. */
.tk-view { flex: 1 1 auto; min-width: 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 3%, #000 92%, transparent); }
/* Track gồm ĐÚNG hai nhóm giống hệt nhau, nên dịch -50% là vừa hết một nhóm và khung hình
   ở cuối vòng trùng khít khung hình đầu vòng — mắt không thấy điểm nối. */
.tk-track { display: flex; width: max-content; animation: tk-scroll var(--tk-time, 40s) linear infinite; }
.tk-group { display: flex; align-items: center; }
.nav-ticker:hover .tk-track { animation-play-state: paused; }
@keyframes tk-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.tk-item { display: inline-flex; align-items: center; gap: .5rem; padding: 0 1.15rem;
    white-space: nowrap; color: rgba(255,255,255,.88); font-size: var(--fs-sm); }
.tk-item + .tk-item { border-left: 1px solid rgba(255,255,255,.14); }
.tk-item:hover { color: #fff; }
.tk-date { flex: 0 0 auto; padding: .1rem .45rem; border-radius: 6px; font-size: var(--fs-3xs); font-weight: 800;
    background: rgba(0,163,224,.16); color: var(--cyan); letter-spacing: .02em; }
.tk-title { font-weight: 600; }
.tk-item:hover .tk-title { text-decoration: underline; text-underline-offset: 3px; }
.tk-cat { font-size: var(--fs-2xs); color: rgba(255,255,255,.5); }
.tk-more { flex: 0 0 auto; align-items: center; gap: .3rem; font-size: var(--fs-2xs); font-weight: 700;
    color: var(--blue-300); text-transform: uppercase; letter-spacing: .06em; }
.tk-more:hover { color: #fff; gap: .5rem; }
.tk-more .ph { transition: transform .3s var(--ease); }

@media (max-width: 767.98px) {
    .tk-row { height: 36px; gap: .5rem; }
    .tk-item { padding: 0 .8rem; font-size: var(--fs-xs); }
    .tk-cat { display: none; }
}

/* Tắt hiệu ứng chuyển động: luật `* { animation: none !important }` ở cuối file đã dừng
   băng chạy, nên phải trả lại cách đọc — cho vuốt ngang và bỏ nhóm nhân bản đi để không
   thấy danh sách lặp hai lần. */
@media (prefers-reduced-motion: reduce) {
    .tk-view { overflow-x: auto; }
    .tk-group + .tk-group { display: none; }
}

/* ---------- Menu mobile ---------- */
/* Khoá cuộn trang nền phải đặt trên <html>: <html> đang có overflow-x:clip nên
   overflow của <body> KHÔNG được propagate lên viewport — đặt overflow:hidden ở body
   sẽ biến body thành scroll container riêng, khiến .site-nav (sticky) dính vào đỉnh
   body đã cuộn khuất thay vì đỉnh màn hình → mất nút đóng menu. */
html.menu-open { overflow: hidden; }
.mobile-overlay { position: fixed; inset: 0; z-index: 1029; background: rgba(248,251,255,.97);
    backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s var(--ease); }
.mobile-overlay::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(520px 320px at 110% -5%, rgba(0,163,224,.16), transparent 60%),
                radial-gradient(460px 300px at -15% 12%, rgba(75,45,191,.14), transparent 62%); }
body.menu-open .mobile-overlay { opacity: 1; visibility: visible; }
.mo-scroll { position: relative; height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 5.25rem 1.15rem calc(1.75rem + env(safe-area-inset-bottom));
    display: flex; flex-direction: column; gap: 1.25rem; }

.mo-nav { flex: 0 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm); overflow: hidden; }
.mo-nav > * + * { border-top: 1px solid var(--line-2); }

.mo-item { display: flex; align-items: center; gap: .85rem; width: 100%; padding: .95rem 1.05rem;
    font-size: var(--fs-base); font-weight: 700; color: var(--ink); list-style: none; cursor: pointer;
    transition: background .3s var(--ease), color .3s var(--ease); }
.mo-item::-webkit-details-marker { display: none; }
.mo-item:active { background: var(--bg-soft); }
.mo-label { flex: 1 1 auto; }
.mo-ico { flex: 0 0 auto; width: 2.35rem; height: 2.35rem; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-lg);
    background: var(--bg-soft-2); color: var(--blue-600);
    transition: background .3s var(--ease), color .3s var(--ease); }
.mo-caret { flex: 0 0 auto; font-size: var(--fs-base); color: var(--muted); transition: transform .35s var(--ease); }

.mo-item.active { color: var(--blue-700); background: linear-gradient(120deg, rgba(0,163,224,.1), rgba(75,45,191,.1)); }
.mo-item.active .mo-ico { background: var(--grad-brand-2); color: #fff; box-shadow: var(--shadow-blue); }

.mo-group[open] > .mo-item { color: var(--blue-700); }
.mo-group[open] > .mo-item .mo-caret { transform: rotate(180deg); }
.mo-sub { display: flex; flex-wrap: wrap; gap: .45rem; padding: .15rem 1.05rem 1.05rem 1.05rem; }
.mo-chip { display: inline-flex; align-items: center; padding: .5rem .85rem; border-radius: 999px;
    background: var(--bg-soft); border: 1px solid var(--line-2); color: var(--ink-2);
    font-size: var(--fs-sm); font-weight: 600; line-height: 1.25;
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.mo-chip:active { background: var(--bg-soft-2); color: var(--blue-700); border-color: rgba(75,45,191,.35); }
.mo-chip-all { background: var(--grad-brand-2); border-color: transparent; color: #fff; }
.mo-chip-all:active { color: #fff; filter: brightness(1.06); }

.mo-foot { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: .85rem; }
.mo-call { display: flex; align-items: center; gap: .8rem; width: 100%; padding: .85rem 1rem;
    border-radius: var(--r-lg); background: var(--grad-brand-2); color: #fff; box-shadow: var(--shadow-blue); }
.mo-call:active { color: #fff; filter: brightness(1.06); }
.mo-call-ico { flex: 0 0 auto; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(255,255,255,.2);
    display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-lg); }
.mo-call-text { flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.2; }
.mo-call-text small { font-size: var(--fs-2xs); opacity: .85; font-weight: 500; }
.mo-call-text strong { font-size: var(--fs-md); font-weight: 800; letter-spacing: .01em; }
.mo-mail { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); font-size: var(--fs-sm); font-weight: 500; }
.mo-mail .ph { font-size: var(--fs-md); }
.mo-social { display: flex; gap: .55rem; }
.mo-social a { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #fff; border: 1px solid var(--line);
    display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-md); color: var(--ink-2);
    box-shadow: var(--shadow-sm); }
.mo-social a:active { color: var(--blue-700); border-color: rgba(75,45,191,.35); }

/* hiệu ứng lần lượt khi mở menu */
.mobile-overlay .mo-nav > *, .mobile-overlay .mo-foot { opacity: 0; transform: translateY(16px); }
body.menu-open .mobile-overlay .mo-nav > *,
body.menu-open .mobile-overlay .mo-foot { animation: reveal-up .5s var(--ease) forwards; }
body.menu-open .mo-nav > *:nth-child(2) { animation-delay: .05s; }
body.menu-open .mo-nav > *:nth-child(3) { animation-delay: .1s; }
body.menu-open .mo-nav > *:nth-child(4) { animation-delay: .15s; }
body.menu-open .mo-nav > *:nth-child(5) { animation-delay: .2s; }
body.menu-open .mo-nav > *:nth-child(6) { animation-delay: .25s; }
body.menu-open .mobile-overlay .mo-foot { animation-delay: .3s; }
@keyframes reveal-up { to { opacity: 1; transform: translateY(0); } }

/* ---------- Hero ---------- */
/* Nền SÁNG từ bản Canva trang 16: ảnh bụi màu pastel (public/banner-new.jpg) hiện rõ, một lớp
   trắng mờ dần từ trái sang để cột chữ đọc được, chữ tối. Trước đây banner nền tối + ảnh 42%. */
.hero { position: relative; color: var(--ink); background: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: 1; width: 560px; height: 560px; right: -140px; top: -160px; pointer-events: none;
    background: radial-gradient(circle, rgba(75,45,191,.22), rgba(255,107,53,.1) 45%, transparent 68%); filter: blur(10px);
    animation: float1 14s ease-in-out infinite; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(100deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.78) 34%, rgba(255,255,255,.18) 62%, rgba(255,255,255,0) 80%),
                linear-gradient(180deg, transparent 62%, rgba(255,255,255,.85) 88%, #fff 100%); }
@keyframes float1 { 50% { transform: translate(-30px, 40px); } }
.hero-photo { position: absolute; inset: 0; z-index: 0; }
/* Ảnh banner chỉ 1024px ngang: phóng lên full màn hình sẽ hơi mềm — với ảnh bụi màu thì không
   lộ, nhưng đổi sang ảnh có chi tiết sắc nét thì cần bản ≥1920px. Zoom chậm để nền không đứng im. */
.hero-photo img { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 24s ease-in-out infinite alternate; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
/* padding gọn hơn bản gốc: cột phải nay là bản đồ cao (tỉ lệ 650/840) nên tự nó đã kéo banner cao */
.hero-inner { position: relative; z-index: 2;
    padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
/* Tiêu đề banner là một câu dài (~160 ký tự) chứ không phải 3 dòng ngắn như trước,
   nên cỡ chữ phải nhỏ lại nhiều — để nguyên 3.4rem thì tràn hết cột trái. */
.hero h1 { font-size: var(--fs-d3); font-weight: 900; color: var(--navy-800); line-height: 1.25; }
/* Dòng thương hiệu riêng, to hơn hẳn câu mô tả (Canva trang 16): ảnh chữ của logo. */
.hero-brand { display: block; margin-bottom: .9rem; }
.hero-brand img { display: block; height: clamp(2.6rem, 5.4vw, 4.4rem); width: auto; max-width: 100%;
    filter: drop-shadow(0 10px 24px rgba(75,45,191,.18)); }
.hero-tagline { display: block; }
.hero .lead-2 { color: var(--ink-2); max-width: 520px; font-size: var(--fs-base); }
.hero .eyebrow.on-dark { color: #eaf4ff; background: rgba(196,184,255,.16); border-color: rgba(196,184,255,.34); }
/* nút nhỏ gọn hơn trong banner */
.hero .btn-pill { padding: .6rem .6rem .6rem 1.2rem; font-size: var(--fs-sm); gap: .5rem; }
.hero .btn-pill .ico { width: 1.7rem; height: 1.7rem; font-size: var(--fs-sm); }

/* Hiệu ứng vào trang (Canva trang 16: "khi vào trang chủ không bị tĩnh"). Chạy ngay khi tải chứ
   không chờ IntersectionObserver — banner luôn nằm trong màn hình đầu. Chỉ gắn dưới .js và chỉ
   bằng animation (fill-mode both, KHÔNG đặt opacity:0 ở trạng thái gốc): khi giảm chuyển động,
   luật `animation: none` cuối file trả mọi thứ về trạng thái hiện đầy đủ. */
.js .hero-brand img { animation: hero-wipe 1.1s var(--ease) .1s both; }
@keyframes hero-wipe {
    from { clip-path: inset(-20% 100% -20% 0); transform: translateX(-28px); filter: blur(6px); }
    to { clip-path: inset(-20% -2% -20% 0); transform: none; filter: drop-shadow(0 10px 24px rgba(75,45,191,.18)); }
}
.js .hero-tagline .w { display: inline-block; animation: hero-word .7s var(--ease) both;
    animation-delay: calc(.55s + var(--i, 0) * 32ms); }
@keyframes hero-word { from { opacity: 0; transform: translateY(.55em); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Hero filter (dropdown tùy biến: danh mục + tỉnh + tên) ---------- */
.hero-filter { margin-top: 2.2rem; max-width: 640px; display: flex; align-items: stretch; gap: .25rem;
    background: rgba(255,255,255,.88); border: 1px solid var(--line); border-radius: 999px;
    padding: .4rem; backdrop-filter: blur(10px); box-shadow: 0 24px 50px -30px rgba(14,23,56,.45); }
.hero-filter--full { max-width: 100%; margin-top: clamp(2rem, 4vw, 3rem); }
.hf-select { flex: 1 1 0; position: relative; min-width: 0; }
.hf-select + .hf-select::before, .hf-search::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 1px; height: 55%; background: var(--line); }
.hf-trigger { width: 100%; display: flex; align-items: center; gap: .55rem; background: transparent; border: none;
    cursor: pointer; color: var(--ink); font-size: var(--fs-sm); font-weight: 500; padding: .62rem .85rem; border-radius: 999px;
    transition: background .3s var(--ease); }
.hf-trigger:hover { background: var(--bg-soft-2); }
.hf-lead { color: var(--blue-600); font-size: var(--fs-md); flex: 0 0 auto; }
.hf-label { flex: 1 1 auto; min-width: 0; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hf-caret { color: var(--muted); font-size: var(--fs-xs); flex: 0 0 auto; transition: transform .35s var(--ease); }
.hf-select.open .hf-caret { transform: rotate(180deg); }

/* menu được JS chuyển ra <body> (portal) + position:fixed để thoát overflow:hidden của .hero
   và backdrop-filter của .hero-filter; toạ độ + hướng mở do JS tính. z-index > stat-band, < nav (1030). */
.hf-menu { position: fixed; z-index: 1000; width: 260px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
    padding: .45rem; max-height: 320px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .25s var(--ease); }
.hf-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.hf-option { display: flex; align-items: center; gap: .55rem; width: 100%; text-align: left; background: transparent;
    border: none; cursor: pointer; padding: .6rem .8rem; border-radius: 11px; color: var(--ink-2);
    font-size: var(--fs-sm); font-weight: 500; transition: background .25s var(--ease), color .25s var(--ease), padding-left .25s var(--ease); }
.hf-option::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-300);
    flex: 0 0 auto; opacity: .5; transition: .25s var(--ease); }
.hf-option:hover { background: var(--bg-soft); color: var(--blue-700); padding-left: 1rem; }
.hf-option:hover::before { background: var(--grad-brand-2); opacity: 1; }
.hf-option.is-selected { background: linear-gradient(120deg, rgba(0,163,224,.12), rgba(75,45,191,.12)); color: var(--blue-700); font-weight: 700; }
.hf-option.is-selected::before { background: var(--grad-brand-2); opacity: 1; }
/* ô tìm theo tên */
.hf-search { flex: 1.4 1 0; position: relative; min-width: 0; display: flex; align-items: center; gap: .55rem; padding: .62rem .85rem; }
.hf-search input { width: 100%; min-width: 0; background: transparent; border: none; outline: none;
    color: var(--ink); font-size: var(--fs-sm); font-weight: 500; }
.hf-search input::placeholder { color: var(--muted); }
.hero-filter .btn-pill { flex: 0 0 auto; align-self: stretch; }

@media (max-width: 767.98px) {
    .hero-filter { flex-direction: column; align-items: stretch; border-radius: var(--r-lg); padding: .55rem; gap: .5rem; }
    .hf-select, .hf-search { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; }
    .hf-select + .hf-select::before, .hf-search::before { display: none; }
    .hero-filter .btn-pill { width: 100%; justify-content: center; padding: .7rem 1rem; }
}

/* ---------- Bản đồ Việt Nam trong banner (SVG sinh bằng public/js/vnmap.js) ---------- */
.hero-map-hint { margin-top: 1.4rem; margin-bottom: 0; display: inline-flex; align-items: center; gap: .5rem;
    color: var(--muted); font-size: var(--fs-sm); }
.hero-map-hint i { color: var(--blue-600); font-size: var(--fs-md); }
.hero-map-stage { position: relative; width: 100%; max-width: 540px; margin-inline: auto; aspect-ratio: 650 / 840; }
/* Desktop: dồn bản đồ về sát mép phải cột thay vì căn giữa cột (đỡ bị "sát vào giữa" trang) */
@media (min-width: 992px) { .hero-map-stage { margin-left: auto; margin-right: 0; } }
/* Từ 1320px trở lên container (max 1240px) đã hết giãn, hai bên trang dư ≥40px
   → lấn thêm ra ngoài mép container cho bản đồ dịch hẳn sang phải, không sợ tràn màn hình. */
@media (min-width: 1320px) { .hero-map-stage { margin-right: -2.5rem; } }
.hero-map-stage::before { content: ""; position: absolute; inset: -8% -12%; z-index: 0; pointer-events: none;
    background: radial-gradient(closest-side, rgba(75,45,191,.28), transparent 72%); filter: blur(14px); }
.hero-map-stage svg { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; }
/* Lớp bloom tách riêng + contain:paint => feGaussianBlur trên hình 34 tỉnh (rất nặng) chỉ tính
   một lần thay vì mỗi khung hình. Xem chú thích trong vnmap.js. */
.hero-map-stage svg.vnmap-bloom { z-index: 0; pointer-events: none; will-change: transform; contain: paint; }
/* Khuất khỏi màn hình / tab ẩn -> đứng yên hoàn toàn (vnmap.js gắn .vnmap-idle) */
.vnmap-idle .vnmap-link, .vnmap-idle .vnmap-halo { animation-play-state: paused; }
.vnmap-outline { fill: none; stroke: rgba(75,45,191,.5); stroke-width: 1.2; stroke-linejoin: round; }
/* mảng tỉnh (bắt hover/click cả vùng) + đường kẻ ranh giới, xem public/js/vnmap-geo.js.
   --tint do vnmap.js đặt cho từng tỉnh theo số sự kiện; :hover/.on đè lại bằng màu cyan. */
.vnmap-region { fill: rgba(75,45,191,.42); fill: rgba(75,45,191,calc(.16 + var(--tint,.34) * .75)); cursor: pointer; transition: fill .3s var(--ease); }
.vnmap-region:hover, .vnmap-region.on { fill: rgba(0,163,224,.26); stroke: rgba(0,163,224,.9); stroke-width: 1; }
/* Vào trang: 34 tỉnh lần lượt bật lên từ Bắc vào Nam (--i = thứ tự trong PROV, do vnmap.js đặt),
   rồi nét ranh giới hiện theo. Chỉ là animation một lần, fill-mode both — xem ghi chú ở .hero-brand. */
.js .vnmap-region { transform-box: fill-box; transform-origin: center;
    animation: vnmap-in .7s cubic-bezier(.34, 1.56, .64, 1) both; animation-delay: calc(.35s + var(--i, 0) * 45ms); }
@keyframes vnmap-in { from { opacity: 0; transform: scale(.6) translateY(-6px); } to { opacity: 1; transform: none; } }
.js .vnmap-border { animation: vnmap-fade 1s ease 1.6s both; }
@keyframes vnmap-fade { from { opacity: 0; } to { opacity: 1; } }
/* 3 thành phố lớn (Hà Nội / Đà Nẵng / TP.HCM) — vnmap.js gắn .major.
   Màu Sunset Orange #ff6b35: cả bản đồ là tím indigo + cyan nên tông ấm là thứ duy nhất nổi hẳn lên.
   Vẫn giữ --tint (đậm nhạt theo số sự kiện) nhưng nâng sàn để 3 thành phố luôn rõ;
   dòng rgba đầu là fallback cho trình duyệt không tính được calc() trong kênh alpha. */
.vnmap-region.major { fill: rgba(255,107,53,.46); fill: rgba(255,107,53,calc(.28 + var(--tint,.34) * .5)); }
.vnmap-region.major:hover, .vnmap-region.major.on { fill: rgba(255,107,53,.72); stroke: rgba(255,150,110,.95); stroke-width: 1.2; }
.vnmap-border { fill: none; stroke: rgba(255,255,255,.95); stroke-width: 1; stroke-linejoin: round; pointer-events: none; vector-effect: non-scaling-stroke; }
.vnmap-border.major { stroke: rgba(255,160,120,.92); stroke-width: 1.3; }
.vnmap-halftone { fill: rgba(75,45,191,.22); pointer-events: none; }
.vnmap-link { fill: none; stroke: rgba(75,45,191,.45); stroke-width: 1; stroke-dasharray: 2 6; stroke-linecap: round; pointer-events: none; animation: vnmap-flow 1.1s linear infinite; }
@keyframes vnmap-flow { to { stroke-dashoffset: -16; } }
.vnmap-spark { fill: var(--cyan); pointer-events: none; filter: drop-shadow(0 0 3px rgba(0,163,224,.95)); }
.vnmap-ripple { fill: none; stroke: rgba(0,163,224,.6); stroke-width: 1.4; pointer-events: none; }
.vnmap-prov { fill: #fff; stroke: var(--blue-600); stroke-width: 1.2; transition: fill .25s var(--ease); }
.vnmap-prov.on { fill: var(--cyan); filter: drop-shadow(0 0 5px rgba(0,163,224,.85)); }
/* chấm + quầng của 3 thành phố lớn cũng đổi sang hổ phách cho đồng bộ với mảng tỉnh.
   .major.on đặt sau .on để lúc chạy tới lượt highlight vẫn giữ màu hổ phách, không nhảy về cyan. */
.vnmap-prov.major { fill: #ff6b35; stroke: #fff; stroke-width: 1.4; filter: drop-shadow(0 0 6px rgba(255,107,53,.75)); }
.vnmap-prov.major.on { fill: #ff8f63; filter: drop-shadow(0 0 8px rgba(255,107,53,.95)); }
.vnmap-halo { fill: rgba(255,107,53,.3); pointer-events: none; transform-box: fill-box; transform-origin: center; animation: vnmap-pulse 2.6s ease-out infinite; }
@keyframes vnmap-pulse { 0% { transform: scale(.5); opacity: .75; } 70% { opacity: 0; } 100% { transform: scale(2); opacity: 0; } }
.vnmap-major-lbl { fill: #fff; font-size: 12.5px; font-weight: 700; pointer-events: none; stroke: rgba(7,11,29,.85); stroke-width: 3; paint-order: stroke; }
.vnmap-hit { fill: transparent; cursor: pointer; }
.vnmap-ring { fill: none; stroke: var(--cyan); }
.vnmap-box { fill: none; stroke: rgba(75,45,191,.4); stroke-dasharray: 4 4; pointer-events: none; }
.vnmap-boxlbl { font-size: 12px; fill: #5b4bb0; font-weight: 600; pointer-events: none; }
/* Ô tên tỉnh trượt bằng transform (chuỗi đầy đủ do vnmap.js ghi vào) chứ không phải left/top:
   transform chạy trên compositor, không bắt trình duyệt tính lại layout mỗi giây. */
.vnmap-tip { position: absolute; left: 0; top: 0; transform: translate(-50%,-135%);
    background: rgba(11,18,48,.96); border: 1px solid rgba(0,163,224,.6); border-radius: 10px;
    padding: 5px 12px; font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap;
    box-shadow: 0 10px 26px rgba(0,0,0,.45); pointer-events: none; opacity: 0;
    transition: opacity .2s, transform .4s var(--ease); z-index: 6; }
.vnmap-tip.show { opacity: 1; }
.vnmap-tip::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
    border: 6px solid transparent; border-top-color: rgba(11,18,48,.96); }
.vnmap-tip.flip { transform: translate(-50%,35%); }
.vnmap-tip.flip::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: rgba(11,18,48,.96); }
@media (prefers-reduced-motion: reduce) { .vnmap-link, .vnmap-halo { animation: none; } }

/* ---------- Stats dark band ---------- */
/* Nền gradient logo (Canva trang 16) + một vệt sáng quét ngang chậm cho khối không đứng im. */
.stat-band { background: var(--grad-bar); color: #fff; border-radius: var(--r-xl); padding: clamp(2rem,5vw,3.2rem); position: relative; overflow: hidden;
    box-shadow: 0 30px 60px -34px rgba(75,45,191,.7); }
.stat-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.14) 50%, transparent 65%);
    transform: translateX(-100%); animation: band-shine 7s ease-in-out 1.5s infinite; }
@keyframes band-shine { 0% { transform: translateX(-100%); } 35%, 100% { transform: translateX(100%); } }
.stat-band .row { position: relative; }
/* Chữ số đặc màu trắng: gradient trong chữ đặt trên nền gradient thì nhoè vào nhau.
   tabular-nums để lúc chạy số (site.js) bề ngang không nhảy theo từng chữ số. */
.stat-band .num { font-size: var(--fs-d1); font-weight: 900; line-height: 1; color: #fff; font-variant-numeric: tabular-nums;
    text-shadow: 0 6px 24px rgba(14,23,56,.35); }
/* min-height = 2 dòng: lưới 2 cột trên mobile, nhãn nào dài xuống 2 dòng sẽ đẩy lệch hàng
   dưới so với ô bên cạnh. Chừa sẵn chỗ để 4 ô luôn thẳng hàng dù nhãn dài ngắn khác nhau. */
.stat-band .lbl { color: rgba(255,255,255,.82); font-size: var(--fs-sm); margin-top: .4rem; min-height: calc(2 * 1.6em); }
@media (min-width: 992px) { .stat-band .lbl { min-height: 0; } }

/* ---------- Section heading ---------- */
.sec-head { max-width: 720px; }
/* Tiêu đề section: gradient của logo (navy → Royal Indigo → cam) + chữ "chạy" từ trái sang khi
   khối lọt vào màn hình (Canva trang 17–22). width: fit-content để dải gradient trải đúng bề
   ngang chữ — để block 720px thì tiêu đề ngắn chỉ ăn phần navy đầu dải. text-gradient con bên
   trong ("Sự kiện <span>nổi bật</span>") tự có nền riêng nên vẫn đúng. Cỡ chữ / lề riêng của
   .evs-head h2 và .evcat-head h3 nằm ở luật gốc của chúng phía dưới (đè lên luật này). */
.sec-head h2, .evs-head h2, .evcat-head h3 { font-size: var(--fs-d1); margin: .9rem 0 .7rem; font-weight: 900;
    width: fit-content; max-width: 100%;
    background: var(--grad-heading); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-center .sec-head h2, .sec-head.text-center h2 { margin-left: auto; margin-right: auto; }
/* Hiệu ứng chữ chạy: mở dần từ trái sang bằng clip-path, kèm trượt nhẹ. Gắn vào .reveal.in mà
   site.js đã có sẵn nên không cần observer riêng. inset âm để chừa chỗ dấu tiếng Việt (ệ, ổ)
   và chân chữ (g, y) — inset(0) cắt mất các phần nhô đó. */
.js .reveal .sec-head h2, .js .reveal.sec-head h2, .js .sec-head.reveal h2,
.js .evs-head.reveal h2 { clip-path: inset(-25% 100% -35% -4%); transform: translateX(-26px);
    transition: clip-path 1.1s var(--ease) .15s, transform 1.1s var(--ease) .15s; }
.js .reveal.in .sec-head h2, .js .reveal.in.sec-head h2, .js .sec-head.reveal.in h2,
.js .evs-head.reveal.in h2 { clip-path: inset(-25% -4% -35% -4%); transform: none; }
/* eyebrow trên tiêu đề trượt vào trước một nhịp */
.js .sec-head.reveal .eyebrow { opacity: 0; transform: translateX(-16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .sec-head.reveal.in .eyebrow { opacity: 1; transform: none; }

/* ---------- Category cards (image tiles) ---------- */
.cat-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 250px; padding: 1.4rem; height: 100%; border-radius: var(--r-lg); overflow: hidden;
    color: #fff; isolation: isolate; box-shadow: var(--shadow-sm);
    transition: transform .55s var(--ease), box-shadow .55s var(--ease); }
.cat-card .cat-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
    object-fit: cover; transition: transform 1s var(--ease); }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(11,18,48,.05) 0%, rgba(11,18,48,.35) 48%, rgba(7,11,29,.92) 100%);
    transition: background .5s var(--ease); }
.cat-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.cat-card:hover .cat-img { transform: scale(1.08); }
.cat-card:hover::after { background: linear-gradient(180deg, rgba(75,45,191,.25) 0%, rgba(11,18,48,.45) 48%, rgba(7,11,29,.94) 100%); }
.cat-ico { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
    font-size: var(--fs-xl); color: #fff; margin-bottom: .85rem;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px);
    transition: transform .5s var(--ease), background .4s var(--ease); }
.cat-card:hover .cat-ico { transform: rotate(-6deg) scale(1.06); background: var(--grad-brand-2); border-color: transparent; }
.cat-card h3 { font-size: var(--fs-md); margin: 0; font-weight: 800; color: #fff; line-height: 1.3;
    text-shadow: 0 2px 14px rgba(7,11,29,.55); }
/* "Khám phá ngay" thành nút bo tròn (Canva trang 18): viên kính mờ, trỏ chuột vào thẻ thì đổi
   sang Royal Indigo. */
.cat-card .count { align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; font-size: var(--fs-xs); font-weight: 700;
    color: #fff; margin-top: .8rem; padding: .45rem .55rem .45rem .95rem; border-radius: 999px;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px);
    transition: gap .4s var(--ease), background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.cat-card .count i { width: 1.45rem; height: 1.45rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.22); transition: transform .45s var(--ease); }
.cat-card:hover .count { color: #fff; background: var(--blue-600); border-color: var(--blue-600); box-shadow: var(--shadow-blue); }
.cat-card:hover .count i { transform: translateX(5px); }

/* ---------- Content cards ---------- */
.ev-card { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg);
    overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.ev-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ev-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.ev-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ev-card:hover .ev-thumb img { transform: scale(1.07); }
.ev-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,18,48,.5)); }
.ev-badge { position: absolute; top: .85rem; left: .85rem; z-index: 2; background: rgba(11,18,48,.55); color: #fff;
    font-size: var(--fs-2xs); font-weight: 700; padding: .35rem .8rem; border-radius: 999px; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.15); }
.ev-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.ev-body h3 { font-size: var(--fs-md); line-height: 1.32; margin: 0; font-weight: 700; }
.ev-body h3 a { color: var(--ink); } .ev-body h3 a:hover { color: var(--blue-700); }
.ev-meta { display: flex; align-items: center; gap: .4rem; font-size: var(--fs-xs); color: var(--muted); }
.ev-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: .55rem; border-top: 1px solid var(--line-2); }
.ev-foot .more { color: var(--blue-700); font-weight: 700; font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: .3rem; transition: gap .35s var(--ease); }
.ev-foot .more:hover { gap: .55rem; }

/* Thẻ sự kiện (partials/cards/event) — bản gọn theo Canva trang 11. Thẻ tin tức / dịch vụ dùng
   chung .ev-body / .ev-foot nên mọi luật riêng ở đây phải đi qua .ev-card--event. */
.ev-card--event .ev-thumb { display: block; }
.ev-card--event .ev-thumb::after { display: none; }
.ev-card--event .ev-body { padding: 1rem 1.15rem .9rem; gap: .5rem; }
.ev-card--event h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-place { align-self: flex-start; font-size: var(--fs-2xs); font-weight: 700; color: #fff;
    background: var(--muted); padding: .22rem .6rem; border-radius: 6px; line-height: 1.3; }
.ev-info { margin-top: auto; padding-top: .35rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    font-size: var(--fs-xs); color: var(--muted); }
.ev-info span { display: inline-flex; align-items: center; gap: .35rem; min-width: 0; }
.ev-price { color: var(--ink); font-weight: 600; }
.ev-info .ph { font-size: var(--fs-sm); color: var(--blue-500); }
/* Chân thẻ: ngày giờ là thông tin được làm nổi bật — chữ đậm màu thương hiệu trên nền nhạt. */
.ev-card--event .ev-foot { margin-top: 0; padding: .75rem 1.15rem; border-top: 1px solid var(--line-2);
    background: linear-gradient(180deg, #f8f9fd, #f1eefc); }
.ev-when { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: var(--fs-sm); color: var(--blue-700); }
.ev-when .ph { font-size: var(--fs-md); }

/* ---------- Sự kiện theo danh mục (dải xen kẽ, trang chủ) ---------- */
.evcat-wrap { background: var(--bg); padding-top: clamp(1rem, 2vw, 2rem); }
.evcat-band { padding: clamp(2.4rem, 4vw, 3.6rem) 0; }
.evcat-band--soft { background: var(--grad-soft); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
/* Đầu đề nằm ngang: icon + tên danh mục bên trái, "Xem tất cả" đẩy sang phải, gạch chân
   mảnh khép lại đầu đề trước khi vào lưới card. */
.evcat-head { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap;
    margin-bottom: clamp(1.4rem, 2.2vw, 2rem); padding-bottom: 1.1rem; border-bottom: 1px solid var(--line-2); }
.evcat-head-text { flex: 1 1 260px; min-width: 0; }
.evcat-head h3 { font-size: var(--fs-d4); font-weight: 800; margin: 0 0 .15rem; }
.evcat-head-link { flex: 0 0 auto; }
.evcat-ico { width: 52px; height: 52px; border-radius: 15px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    font-size: var(--fs-xl); color: var(--blue-700);
    background: linear-gradient(135deg, rgba(0,163,224,.16), rgba(75,45,191,.16)); border: 1px solid rgba(75,45,191,.14);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.6); }
.evcat-band--soft .evcat-ico { background: linear-gradient(135deg, #fff, #eef5ff); }
.evcat-count { color: var(--muted); font-size: var(--fs-sm); margin: 0; }

/* feature (large) event card */
.ev-feature { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 480px; height: 100%; display: flex;
    align-items: flex-end; color: #fff; box-shadow: var(--shadow-lg); }
.ev-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ev-feature:hover img { transform: scale(1.05); }
.ev-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,48,.05) 30%, rgba(7,11,29,.85)); }
.ev-feature .fc { position: relative; z-index: 2; padding: 2.2rem; max-width: 620px; }
.ev-feature h3 { color: #fff; font-size: var(--fs-d3); font-weight: 900; }
.ev-feature .ev-meta { color: rgba(255,255,255,.82); }

/* compact horizontal event row (side list) */
.ev-rows { display: flex; flex-direction: column; gap: 1rem; height: 100%; }
.ev-row { display: flex; gap: 1rem; align-items: stretch; flex: 1; background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .4s var(--ease); }
.ev-row:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.ev-row .er-thumb { position: relative; flex: 0 0 38%; max-width: 150px; min-height: 118px; overflow: hidden; }
.ev-row .er-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ev-row:hover .er-thumb img { transform: scale(1.08); }
.ev-row .er-date { position: absolute; top: .5rem; left: .5rem; background: rgba(255,255,255,.95); color: var(--navy-900);
    border-radius: 9px; text-align: center; padding: .25rem .5rem; line-height: 1; box-shadow: var(--shadow-sm); }
.ev-row .er-date .d { font-size: var(--fs-base); font-weight: 900; }
.ev-row .er-date .m { font-size: var(--fs-3xs); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.ev-row .er-body { flex: 1; padding: .85rem 1rem .85rem 0; display: flex; flex-direction: column; justify-content: center; gap: .3rem; min-width: 0; }
.ev-row .er-cat { font-size: var(--fs-3xs); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-600); }
.ev-row h3 { font-size: var(--fs-base); line-height: 1.32; margin: 0; font-weight: 700; }
.ev-row h3 a { color: var(--ink); } .ev-row h3 a:hover { color: var(--blue-700); }
.ev-row .er-meta { font-size: var(--fs-xs); color: var(--muted); display: inline-flex; align-items: center; gap: .35rem; }

/* ---------- Why-choose ---------- */
/* Canva trang 21: icon theo màu chính Royal Indigo; trỏ chuột thì cả ô đậm lên (nền indigo,
   chữ trắng, icon đảo màu) để ô đang đọc nổi hẳn khỏi năm ô còn lại. */
.reason { height: 100%; padding: 1.9rem 1.7rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
    box-shadow: var(--shadow-sm); position: relative; overflow: hidden; isolation: isolate;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease); }
.reason::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-brand-2);
    opacity: 0; transition: opacity .45s var(--ease); }
.reason:hover { transform: translateY(-6px); box-shadow: var(--shadow-blue); border-color: transparent; }
.reason:hover::before { opacity: 1; }
.reason .ic { width: 56px; height: 56px; border-radius: 16px;
    background: var(--blue-600); color: #fff; box-shadow: 0 12px 24px -12px rgba(75,45,191,.8);
    display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-2xl); margin-bottom: 1.1rem;
    transition: background .45s var(--ease), color .45s var(--ease), transform .5s var(--ease); }
.reason:hover .ic { background: #fff; color: var(--blue-600); transform: rotate(-6deg) scale(1.06); }
.reason h3 { font-size: var(--fs-md); margin-bottom: .5rem; font-weight: 700; transition: color .4s var(--ease); }
.reason p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.7; margin: 0; transition: color .4s var(--ease); }
.reason:hover h3 { color: #fff; }
.reason:hover p { color: rgba(255,255,255,.86); }
.about-num { font-size: var(--fs-d3); color: var(--blue-600); line-height: 1; transition: color .4s var(--ease); }
.reason:hover .about-num { color: #fff; }

/* ---------- Carousel danh mục sự kiện (trang chủ, Canva trang 18) ----------
   Track cuộn ngang bằng scroll-snap của trình duyệt; site.js chỉ thêm mũi tên + tự chạy. Viewport
   lấn ra ngoài container hai bên (margin âm) để thẻ đầu/cuối bị mép màn hình cắt — gợi ý "còn
   nữa" như mẫu prepedu — rồi padding trả lại đúng lề container cho thẻ đầu tiên. */
.cat-carousel { position: relative; }
.cc-viewport { overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--cc-bleed, 0px)); padding: 1rem var(--cc-bleed, 0px) 1.6rem;
    scroll-padding-inline: var(--cc-bleed, 0px); }
.cc-viewport::-webkit-scrollbar { display: none; }
@media (min-width: 1300px) { .cat-carousel { --cc-bleed: 2.5rem; } }
.cc-track { display: flex; gap: 1.25rem; width: max-content; }
.cc-item { flex: 0 0 clamp(250px, 26vw, 300px); min-height: 380px; scroll-snap-align: start;
    /* nhún kiểu lò xo khi trỏ chuột: overshoot rồi về (Canva: "hiệu ứng nhảy") */
    transition: transform .55s cubic-bezier(.34, 1.56, .64, 1), box-shadow .55s var(--ease); }
.cc-item:hover { transform: translateY(-12px); }
.cc-item h3 { font-size: var(--fs-lg); }
.cc-nav { position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-lg);
    background: #fff; color: var(--blue-600); border: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-50%); cursor: pointer;
    transition: background .3s var(--ease), color .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease); }
.cc-nav:hover { background: var(--blue-600); color: #fff; transform: translateY(-50%) scale(1.06); }
.cc-nav:disabled { opacity: 0; pointer-events: none; }
.cc-prev { left: -.6rem; }
.cc-next { right: -.6rem; }
@media (max-width: 767.98px) {
    .cc-item { flex-basis: 78vw; min-height: 320px; }
    .cc-nav { width: 40px; height: 40px; }
    .cc-prev { left: .2rem; } .cc-next { right: .2rem; }
}

/* ---------- Vòng dịch vụ (trang chủ, Canva trang 19) ----------
   Các chấm do site.js xếp lên một elip quanh thẻ giữa (đặt transform từng chấm), chấm đang chọn
   luôn trượt lên đỉnh vòng. Không có JS: .svc-orbit không có .is-ready nên các chấm xếp thành
   một hàng gói dòng phía trên thẻ — vẫn bấm được, không chồng lên nhau. */
.svc-orbit { position: relative; max-width: 560px; margin-inline: auto; }
.svc-orbit.is-ready { aspect-ratio: 1 / .92; }
.so-ring { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 1.2rem; }
.svc-orbit.is-ready .so-ring { position: absolute; inset: 0; margin: 0; display: block; }
/* vòng elip mờ làm "quỹ đạo" cho các chấm */
.svc-orbit.is-ready .so-ring::before { content: ""; position: absolute; inset: 7% 4%; border-radius: 50%;
    border: 1.5px dashed rgba(75,45,191,.22); }
.so-dot { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-size: var(--fs-xl); color: var(--blue-600); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), opacity .4s var(--ease); }
.svc-orbit.is-ready .so-dot { position: absolute; left: 50%; top: 50%; margin: -28px 0 0 -28px;
    transition: transform .9s var(--ease), background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), opacity .6s var(--ease); }
.so-dot:hover { color: #fff; background: var(--blue-500); }
.so-dot.is-active { color: #fff; background: var(--grad-brand-2); border-color: transparent; box-shadow: var(--shadow-blue); }
/* thẻ giữa */
.so-center { position: relative; }
.svc-orbit.is-ready .so-center { position: absolute; left: 50%; top: 54%; width: min(58%, 300px); transform: translate(-50%, -50%); }
.so-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem;
    padding: 1.8rem 1.4rem 1.5rem; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line);
    box-shadow: var(--shadow); color: var(--ink); }
.so-card[hidden] { display: none; }
.so-card.is-active { animation: so-pop .6s var(--ease) both; }
@keyframes so-pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.so-card:hover { color: var(--ink); }
/* Ô biểu tượng Royal Indigo bo góc — đúng mẫu "Địa điểm tổ chức sự kiện" trong slide */
.so-ic { width: 92px; height: 92px; border-radius: 24px; display: inline-flex; align-items: center; justify-content: center;
    font-size: var(--fs-d2); color: #fff; background: var(--grad-brand-2); box-shadow: 0 18px 34px -16px rgba(75,45,191,.85);
    margin-bottom: .35rem; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.so-card:hover .so-ic { transform: translateY(-4px) rotate(-4deg); }
.so-name { font-size: var(--fs-md); font-weight: 800; line-height: 1.3; color: var(--blue-600); }
.so-desc { font-size: var(--fs-xs); color: var(--muted); line-height: 1.55; }
.so-more { display: inline-flex; align-items: center; gap: .35rem; font-size: var(--fs-xs); font-weight: 700; color: var(--blue-600); margin-top: .2rem; }
.so-card:hover .so-more { gap: .55rem; }
.so-nav { display: none; }
.svc-orbit.is-ready .so-nav { display: inline-flex; position: absolute; bottom: 2%; width: 42px; height: 42px; border-radius: 50%;
    align-items: center; justify-content: center; font-size: var(--fs-md); cursor: pointer;
    background: #fff; color: var(--blue-600); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: background .3s var(--ease), color .3s var(--ease); }
.so-nav:hover { background: var(--blue-600); color: #fff; }
.so-prev { left: 18%; } .so-next { right: 18%; }
@media (max-width: 575.98px) {
    .so-dot { width: 44px; height: 44px; font-size: var(--fs-lg); }
    .svc-orbit.is-ready .so-dot { margin: -22px 0 0 -22px; }
    /* màn hẹp: chấm đáy vòng sát mép dưới nên đưa hai mũi tên ra hẳn bên dưới vòng */
    .svc-orbit.is-ready { margin-bottom: 3.2rem; }
    .svc-orbit.is-ready .so-nav { bottom: -3rem; }
    .so-prev { left: calc(50% - 52px); } .so-next { right: calc(50% - 52px); }
    .svc-orbit.is-ready .so-center { width: 64%; }
    .so-card { padding: 1.2rem .9rem 1rem; }
    .so-ic { width: 64px; height: 64px; border-radius: 18px; font-size: var(--fs-2xl); }
    .so-desc { display: none; }
}

/* service tile */
.svc-tile { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--r-md);
    background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), color .35s var(--ease); }
.svc-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--blue-700); }
.svc-tile .si { width: 46px; height: 46px; border-radius: 12px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
    font-size: var(--fs-xl); color: #fff; background: var(--grad-brand-2); }

/* ---------- CTA ---------- */
/* ---------- Các dự án liên kết (trang chủ) ----------
   Băng logo chạy vô tận, cùng cơ chế với .tk-track: hai nhóm y hệt, dịch -50%. Khoảng cách giữa
   các ô dùng margin-right trên từng ô chứ KHÔNG dùng `gap` của track — gap nằm giữa hai nhóm sẽ
   làm nửa track dài hơn đúng một nhóm và mối nối giật một nhịp mỗi vòng. */
.partner-marquee { overflow: hidden; padding: .6rem 0 1rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.partner-track { display: flex; width: max-content; animation: tk-scroll var(--pm-time, 40s) linear infinite; }
.partner-marquee:hover .partner-track { animation-play-state: paused; }
.partner-group { display: flex; }
.partner-card { flex: 0 0 220px; height: 120px; margin-right: 1.1rem; display: flex; align-items: center; justify-content: center;
    padding: .6rem .8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(75,45,191,.3); }
.partner-card img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 575.98px) {
    .partner-card { flex-basis: 160px; height: 96px; margin-right: .8rem; }
}
/* Tắt chuyển động: animation đã bị luật chung cuối file dừng, trả lại cách xem bằng vuốt ngang
   và bỏ nhóm nhân bản (giống .tk-view). */
@media (prefers-reduced-motion: reduce) {
    .partner-marquee { overflow-x: auto; }
    .partner-group + .partner-group { display: none; }
}

/* CTA + footer: gradient logo (Canva trang 22). */
.cta-band { position: relative; color: #fff; background: var(--grad-bar); border-radius: var(--r-xl); overflow: hidden; padding: clamp(2.6rem,6vw,4.2rem);
    box-shadow: 0 34px 70px -40px rgba(75,45,191,.8); }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; pointer-events: none;
    background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%); animation: float1 14s ease-in-out infinite; }
.cta-band > .row { position: relative; }
.cta-band h2 { color: #fff; font-size: var(--fs-d2); font-weight: 900; }

/* ---------- Footer ---------- */
/* Gradient đậm hơn dải CTA vì footer là mảng lớn và chứa nhiều chữ nhỏ: nửa trái (logo, giới
   thiệu) giữ navy, indigo dâng lên ở nửa phải, cam chỉ là quầng sáng ở góc dưới. */
.site-footer { color: rgba(255,255,255,.72); padding: 4.5rem 0 2rem; margin-top: 0;
    background: radial-gradient(720px 380px at 100% 100%, rgba(255,107,53,.28), transparent 62%),
                linear-gradient(115deg, #0e1738 0%, #17134a 45%, #3a22a3 100%); }
.site-footer h5 { color: #fff; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.2rem; font-weight: 700; }
.site-footer a { color: rgba(255,255,255,.72); display: inline-block; padding: .24rem 0; font-size: var(--fs-sm); }
.site-footer a:hover { color: var(--blue-300); }
/* Cột link phải xuống dòng từng cái. inline-block khiến 5 link chảy thành hàng và dính
   vào nhau ("Trang chủ Giới thiệu", "Lịch sự kiện Tin tức") — đọc ra như lỗi chính tả. */
.site-footer .foot-links a { display: block; width: fit-content; }
.site-footer .logo img { height: 40px; }
.foot-soc { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16);
    display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: all .4s var(--ease); }
.foot-soc svg { width: 19px; height: 19px; display: block; }
.foot-soc:hover { background: var(--grad-brand-2); border-color: transparent; transform: translateY(-3px); color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; font-size: var(--fs-xs); }

/* ---------- Page hero ---------- */
.page-hero { background: var(--grad-dark); color: #fff;
    padding: clamp(4rem,8vw,6.5rem) 0 clamp(3.2rem,6vw,5rem); position: relative; overflow: hidden; }
/* faint dot grid texture */
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: radial-gradient(rgba(196,184,255,.18) 1px, transparent 1.6px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(120% 90% at 80% 0%, #000 0%, transparent 70%);
    mask-image: radial-gradient(120% 90% at 80% 0%, #000 0%, transparent 70%); }
/* glow blob */
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -130px; top: -180px;
    background: radial-gradient(circle, rgba(0,163,224,.34), rgba(75,45,191,.16) 45%, transparent 70%);
    filter: blur(8px); animation: float1 16s ease-in-out infinite; }
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: var(--fs-d1); font-weight: 900; position: relative;
    text-shadow: 0 2px 24px rgba(7,11,29,.4); }
.page-hero .lead-2 { color: rgba(255,255,255,.86) !important; }
/* Trang chi tiết: hero thấp + tiêu đề nhỏ hơn, và phần thân bớt khoảng trắng phía trên, để ảnh
   và thông tin sự kiện nằm ngay trong màn hình đầu thay vì phải cuộn mới thấy. */
.page-hero--compact { padding: clamp(1.8rem,3.5vw,2.6rem) 0 clamp(1.6rem,3vw,2.2rem); }
.page-hero--compact h1 { font-size: var(--fs-d3); }
/* .section.section--flush-top (0,2,0): phải thắng luật `.section { padding }` trong @media mobile ở cuối file */
.section.section--flush-top { padding-top: clamp(1.8rem,3vw,2.5rem); }
/* `display: flex` + `width: fit-content`, KHÔNG phải inline-flex: eyebrow ngay sau breadcrumb
   cũng là phần tử inline nên inline-flex khiến hai cái nằm chung một hàng, margin-bottom mất
   tác dụng và tiêu đề trang bị đẩy lệch. fit-content giữ vùng hover bó sát chữ như cũ. */
.breadcrumbs { font-size: var(--fs-xs); color: rgba(255,255,255,.72); margin-bottom: 1.1rem; position: relative;
    display: flex; width: fit-content; max-width: 100%; flex-wrap: wrap; align-items: center; gap: .35rem; }
.breadcrumbs a { color: rgba(255,255,255,.72); transition: color .3s var(--ease); }
.breadcrumbs a:hover { color: var(--blue-300); }

/* ---------- Filter bar (select dropdowns) ---------- */
.filter-bar { display: grid; grid-template-columns: 1fr 1fr 1.3fr auto; gap: .85rem; align-items: end;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.1rem 1.2rem;
    box-shadow: var(--shadow-sm); margin-bottom: 2.5rem; }
.fb-field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.fb-field > label { font-size: var(--fs-2xs); font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
    color: var(--muted); padding-left: .2rem; display: inline-flex; align-items: center; gap: .35rem; }
.fb-field > label i { color: var(--blue-600); font-size: var(--fs-base); }
.fb-field select, .fb-field input { width: 100%; border: 1px solid var(--line); border-radius: 12px;
    padding: .72rem .9rem; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); background: var(--bg-soft);
    appearance: none; -webkit-appearance: none; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease); }
.fb-field input { font-weight: 500; }
.fb-field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%234b2dbf' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.2rem; }
.fb-field select:focus, .fb-field input:focus { outline: none; background: #fff; border-color: var(--blue-400); box-shadow: 0 0 0 .2rem rgba(106,79,224,.18); }
.filter-bar .btn-pill { height: 46px; padding: 0 .55rem 0 1.3rem; }
@media (max-width: 767.98px) {
    .filter-bar { grid-template-columns: 1fr 1fr; }
    .filter-bar .fb-search { grid-column: 1 / -1; }
    .filter-bar .btn-pill { grid-column: 1 / -1; width: 100%; justify-content: center; height: 48px; }
}

/* ---------- Lịch sự kiện: thanh lọc + tab trạng thái ---------- */
/* Thanh lọc được kéo lên sát hero (thay cho padding-top cỡ .section) để ba tab trạng thái
   là thứ nằm ngay trên lưới sự kiện mà chúng điều khiển — tab cách xa lưới thì đọc như một
   khối điều hướng riêng chứ không như bộ lọc của danh sách. */
.events-toolbar { padding-top: clamp(1.6rem, 3vw, 2.4rem); }
.events-toolbar .filter-bar { margin-bottom: 1.1rem; }
.events-list { padding: clamp(1.8rem, 3.5vw, 2.6rem) 0 clamp(4rem, 8vw, 7.5rem); }

/* Trang lịch sự kiện: tiêu đề từng khối trạng thái — căn giữa, tiêu đề đậm + một dòng phụ xám
   (mẫu "Trại ong Linh Sơn qua ống kính" trong Canva trang 10). */
.evs-head { text-align: center; max-width: 640px; margin: 0 auto clamp(1.4rem, 2.5vw, 2rem); }
.evs-head h2 { font-size: var(--fs-d3); font-weight: 800; margin: 0 auto .35rem; }
.evs-head p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.evs-section + .evs-section { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2.4rem, 5vw, 3.5rem); border-top: 1px solid var(--line-2); }

.status-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.status-tab { display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    padding: .72rem 1.45rem; border-radius: 999px; background: #fff; border: 1px solid var(--line);
    color: var(--ink); font-size: var(--fs-sm); font-weight: 700; transition: all .4s var(--ease); }
.status-tab:hover { border-color: rgba(75,45,191,.45); color: var(--blue-700); transform: translateY(-2px); }
.status-tab.active { background: var(--grad-brand-2); color: #fff; border-color: transparent; box-shadow: var(--shadow-blue); }
.status-tab.active:hover { color: #fff; }
@media (max-width: 575.98px) {
    .status-tabs { display: grid; grid-template-columns: 1fr; }
    .status-tab { width: 100%; }
}

/* chips */
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1.05rem; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: var(--fs-sm); font-weight: 600; transition: all .4s var(--ease); }
.chip:hover { border-color: rgba(75,45,191,.45); color: var(--blue-700); transform: translateY(-2px); }
.chip.active { background: var(--grad-brand-2); color: #fff; border-color: transparent; box-shadow: var(--shadow-blue); }

/* ---------- Article ---------- */
.article-body { font-size: var(--fs-md); line-height: 1.9; color: var(--ink-2); }
.article-body h2, .article-body h3 { margin: 2rem 0 .8rem; font-weight: 800; }
/* Ảnh lớn đầu trang chi tiết. Trước dùng inline height:auto — trình duyệt không biết ảnh cao
   bao nhiêu cho tới khi tải xong nên cả cột nội dung bị đẩy xuống (layout shift). aspect-ratio
   giữ sẵn chỗ; ảnh nào không đúng 16:9 thì object-fit cắt gọn thay vì làm nhảy bố cục. */
.article-hero-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article-body img { border-radius: var(--r-md); margin: 1.2rem 0; }
.article-body p { margin-bottom: 1.1rem; }
.article-body ul, .article-body ol { margin-bottom: 1.1rem; padding-left: 1.3rem; }
.article-body li { margin-bottom: .4rem; }
.article-body blockquote { border-left: 4px solid var(--blue-500); padding: .4rem 0 .4rem 1.2rem; color: var(--muted); font-style: italic; margin: 1.4rem 0; }

.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-md); transition: transform .5s var(--ease); box-shadow: var(--shadow-sm); }
.gallery-grid a:hover img { transform: scale(1.03); box-shadow: var(--shadow); }

.info-line { display: flex; gap: .85rem; align-items: flex-start; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.info-line:last-child { border-bottom: none; }
.info-line .ic { color: var(--blue-600); font-size: var(--fs-lg); margin-top: .1rem; }
.info-line .lbl { font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.info-line .val { font-weight: 700; color: var(--ink); }

/* forms */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: var(--fs-sm); margin-bottom: .4rem; }
.field .form-control, .field .form-select { border-radius: 12px; border: 1px solid var(--line); padding: .8rem 1rem; }
.field .form-control:focus, .field .form-select:focus { border-color: var(--blue-400); box-shadow: 0 0 0 .2rem rgba(106,79,224,.2); }

/* ---------- Pagination (brand) ---------- */
.pagination { gap: .4rem; flex-wrap: wrap; }
.pagination .page-item .page-link { border: 1px solid var(--line); border-radius: 12px !important; min-width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center; color: var(--ink); font-weight: 700; background: #fff;
    transition: all .35s var(--ease); padding: 0 .6rem; }
.pagination .page-item .page-link:hover { border-color: rgba(75,45,191,.45); color: var(--blue-700); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pagination .page-item.active .page-link { background: var(--grad-brand-2); border-color: transparent; color: #fff; box-shadow: var(--shadow-blue); }
.pagination .page-item.disabled .page-link { opacity: .45; background: var(--bg-soft); }
.pagination .page-link:focus { box-shadow: 0 0 0 .2rem rgba(106,79,224,.25); }

/* ---------- Scroll to top ---------- */
.to-top { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 1020;
    width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-lg); color: #fff;
    background: var(--grad-brand-2); box-shadow: var(--shadow-blue);
    opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s var(--ease), filter .3s var(--ease), box-shadow .4s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { filter: brightness(1.08); transform: translateY(-3px); box-shadow: 0 28px 50px -18px rgba(75,45,191,.7); }
.to-top:active { transform: scale(.94); }
/* Trên điện thoại nút này nằm đè lên chữ và card vì nội dung chạy sát mép phải.
   Thu nhỏ + dời sát góc, và chừa chỗ cuối trang để nó không che dòng cuối cùng. */
@media (max-width: 767.98px) {
    .to-top { width: 40px; height: 40px; font-size: var(--fs-md); right: .7rem; bottom: .7rem; opacity: .92; }
    .site-footer { padding-bottom: 3.5rem; }
}

/* ---------- Scroll reveal ----------
   Chỉ ẩn khi CHẮC CHẮN có JS chạy được: class `js` do script inline trong <head> đặt, và bị gỡ
   lại nếu site.js tải hỏng (onerror trên thẻ script). Trước đây .reveal ẩn vô điều kiện —
   mọi khối nội dung đều mang class này nên chỉ cần site.js lỗi/bị chặn là trắng cả trang. */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    /* Dưới 992px chỉ còn logo + nút mở menu: mọi thứ khác đã có bản đầy đủ trong .mobile-overlay,
       để lại ở đây thì cùng một chức năng xuất hiện hai lần trên cùng màn hình. */
    .nav-links, .nav-cta-desktop, .nav-actions .dropdown { display: none; }
    .nav-burger { display: inline-flex; }
    /* footer: căn giữa logo khi các cột đã xuống hàng (mobile/tablet) */
    .site-footer .logo { text-align: center; }
}
@media (max-width: 991.98px) {
    /* bản đồ xuống dưới phần chữ, thu bớt cho khỏi chiếm hết màn hình */
    .hero-map-stage { max-width: 546px; }
    .hero-map-hint { margin-top: 1rem; }
}
@media (max-width: 767.98px) {
    /* banner: cho chữ thoáng khỏi 2 mép trên điện thoại */
    .hero-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
    /* Mobile: cho bản đồ tràn hết bề ngang màn hình (bù lại đúng padding 1.25rem của .hero-inner).
       Đây là cỡ lớn nhất có thể mà không cắt mất khung Hoàng Sa / Trường Sa ở mép phải. */
    .hero-map-stage { max-width: none; width: calc(100% + 2.5rem); margin-inline: -1.25rem; }
}
@media (max-width: 575.98px) {
    .hero h1 { font-size: var(--fs-lg); }
    .section { padding: 3.2rem 0; }
    .btn-pill { width: 100%; justify-content: center; }
    .ev-feature { min-height: 360px; }
    .cat-card { min-height: 200px; padding: 1.1rem; }
    .cat-ico { width: 42px; height: 42px; font-size: var(--fs-lg); margin-bottom: .6rem; }
    .cat-card h3 { font-size: var(--fs-base); }
    .ev-row .er-thumb { flex-basis: 36%; min-height: 100px; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    /* phải là .js .reveal — cùng độ đặc hiệu với luật ẩn ở trên, nếu không luật ẩn vẫn thắng */
    .js .reveal { opacity: 1; transform: none; }
    /* html { scroll-behavior: smooth } ở đầu file không tự tắt theo reduced-motion */
    html { scroll-behavior: auto; }
}

/* =========================================================
   TÀI KHOẢN NGƯỜI DÙNG
   Trang đăng nhập/đăng ký/quên mật khẩu (.auth-*) và trang hồ sơ (.acc-*).
   Mọi font-size dùng thang --fs-* khai ở :root, không đặt số rời.
   ========================================================= */

/* --- Khung hai cột: cột giới thiệu nền tối + cột biểu mẫu nền sáng --- */
.auth-shell { padding: clamp(2rem, 5vw, 4rem) 0; background: var(--grad-soft); }
.auth-grid {
    display: grid; grid-template-columns: 1fr; gap: 0;
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--r-xl); box-shadow: var(--shadow); overflow: hidden;
}
@media (min-width: 992px) {
    .auth-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
}

.auth-aside {
    flex-direction: column; justify-content: space-between; gap: 2rem;
    padding: clamp(2rem, 3vw, 3rem); color: #fff; background: var(--grad-dark);
}
.auth-aside-logo img { height: 42px; width: auto; }
.auth-aside-body h2 {
    color: #fff; font-family: var(--font-display); font-weight: 800;
    font-size: var(--fs-d3); margin: 1rem 0 .75rem; line-height: 1.25;
}
.auth-aside-body p { color: rgba(255, 255, 255, .8); margin-bottom: 1.5rem; }
.auth-aside-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.auth-aside-list li {
    display: flex; align-items: center; gap: .7rem;
    font-size: var(--fs-sm); color: rgba(255, 255, 255, .88);
}
.auth-aside-list i { color: var(--blue-400); font-size: var(--fs-lg); flex: 0 0 auto; }
.auth-aside-foot { margin: 0; font-size: var(--fs-2xs); color: rgba(255, 255, 255, .45); }

.auth-panel { padding: clamp(1.6rem, 3vw, 3rem); display: flex; flex-direction: column; }
.auth-card { flex: 1 1 auto; }
.auth-card-logo { display: block; text-align: center; margin-bottom: 1.25rem; }
.auth-card-logo img { height: 40px; width: auto; }

.auth-head { margin-bottom: 1.5rem; }
.auth-head h1 {
    font-family: var(--font-display); font-weight: 800;
    font-size: var(--fs-d4); color: var(--ink); margin: 0 0 .35rem;
}
.auth-head p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }

/* --- Nút Google + gạch "hoặc" --- */
.btn-google {
    display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%;
    padding: .55rem 1rem; border-radius: 12px; border: 1px solid var(--line);
    background: #fff; color: var(--ink); font-weight: 700; font-size: var(--fs-sm);
    text-decoration: none; transition: .25s var(--ease);
}
.btn-google:hover { color: var(--ink); border-color: rgba(75,45,191,.45); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.btn-google svg { width: 18px; height: 18px; flex: 0 0 auto; }

.auth-or { display: flex; align-items: center; gap: .9rem; margin: 1.25rem 0; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-or span { font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }

/* --- Ô nhập + nút chính --- */
.field .req { color: #d9534f; }
.field .hint { display: block; margin-top: .35rem; font-size: var(--fs-xs); color: var(--muted); }

/* Cỡ ô nhập riêng cho khu tài khoản.
   `.field` được canh theo biểu mẫu trang Liên hệ — một khối rộng gần cả màn hình, nên ô cao
   ~48px là hợp. Đặt nguyên khổ đó vào thẻ đăng nhập rộng ~420px thì 5 ô liên tiếp đẩy nút
   gửi xuống dưới nếp gấp. Thu nhỏ tại đây và CHỈ trong khu tài khoản (.auth-panel của các
   trang đăng nhập/đăng ký…, .acc-page của trang hồ sơ) để trang Liên hệ giữ nguyên khổ cũ.
   Viết ba lớp (0,3,0) để thắng `.field .form-control` (0,2,0) khai ở phần dùng chung. */
.auth-panel .field, .acc-page .field { margin-bottom: .85rem; }
.auth-panel .field label, .acc-page .field label { font-size: var(--fs-xs); margin-bottom: .3rem; }
.auth-panel .field .form-control, .auth-panel .field .form-select,
.acc-page .field .form-control, .acc-page .field .form-select { padding: .55rem .85rem; font-size: var(--fs-sm); }

/* Ô mật khẩu kèm nút con mắt. padding-right chừa chỗ cho nút, nếu không ký tự cuối
   chui xuống dưới icon khi mật khẩu dài. */
.pw-wrap { position: relative; }
/* Hai dòng, không gộp: luật thu nhỏ ở trên dùng `padding` viết tắt với (0,3,0), nên bản
   `.pw-wrap .form-control` (0,2,0) sẽ bị nó ghi đè luôn cả padding-right — mật khẩu dài
   chui xuống dưới nút con mắt. Bản (0,3,0) dưới đây mới thực sự có tác dụng trong khu tài khoản. */
.pw-wrap .form-control { padding-right: 2.6rem; }
.auth-panel .pw-wrap .form-control, .acc-page .pw-wrap .form-control { padding-right: 2.6rem; }
.pw-toggle {
    position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
    width: 1.95rem; height: 1.95rem; display: grid; place-items: center;
    border: 0; background: transparent; color: var(--muted); font-size: var(--fs-sm);
    border-radius: 8px; cursor: pointer;
}
.pw-toggle:hover { color: var(--blue-600); background: rgba(75,45,191,.08); }

.btn-auth {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    padding: .55rem 1.3rem; border: 0; border-radius: 999px;
    background: var(--grad-brand-2); color: #fff; font-weight: 800; font-size: var(--fs-sm);
    box-shadow: 0 12px 26px -14px rgba(75,45,191,.75); transition: .25s var(--ease); cursor: pointer;
}
.btn-auth:hover { color: #fff; filter: brightness(1.07); transform: translateY(-2px); }
.btn-auth:active { transform: scale(.98); }
.btn-auth:disabled { opacity: .6; transform: none; }

.btn-danger-soft {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .45rem 1.05rem; border-radius: 999px; cursor: pointer;
    border: 1px solid rgba(217, 83, 79, .35); background: rgba(217, 83, 79, .07);
    color: #b53c38; font-weight: 700; font-size: var(--fs-xs); transition: .25s var(--ease);
}
.btn-danger-soft:hover { background: rgba(217, 83, 79, .14); border-color: rgba(217, 83, 79, .55); }

/* .btn-ghost mặc định là nút trung tính; biến thể đỏ dùng cho Đăng xuất. */
.btn-ghost.is-danger { color: #b53c38; border-color: rgba(217, 83, 79, .3); }
.btn-ghost.is-danger:hover { color: #b53c38; border-color: rgba(217, 83, 79, .55); }

/* --- Liên kết phụ dưới biểu mẫu --- */
.auth-link { font-size: var(--fs-sm); font-weight: 700; color: var(--blue-600); text-decoration: none; }
.auth-link:hover { color: var(--blue-700); text-decoration: underline; }
.auth-link.as-button { border: 0; background: none; padding: 0; cursor: pointer; }
.auth-switch { margin: 1.4rem 0 0; text-align: center; font-size: var(--fs-sm); color: var(--muted); }
.auth-switch a { font-weight: 700; color: var(--blue-600); text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }
.auth-foot-link { margin: 1.5rem 0 0; text-align: center; }
.auth-foot-link a { font-size: var(--fs-sm); color: var(--muted); text-decoration: none; }
.auth-foot-link a:hover { color: var(--blue-600); }

/* --- Trang "kiểm tra hộp thư" --- */
.verify-box { text-align: center; margin-bottom: 1.5rem; }
.verify-ic {
    width: 62px; height: 62px; margin: 0 auto 1rem; border-radius: 50%;
    display: grid; place-items: center; font-size: var(--fs-xl);
    color: var(--blue-600); background: var(--bg-soft-2);
}
.verify-box p { color: var(--ink-2); margin-bottom: .8rem; }
.verify-hint {
    font-size: var(--fs-xs); color: var(--muted); background: var(--bg-soft);
    border-radius: 12px; padding: .7rem .9rem; margin: 0;
}
.verify-actions { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 1.25rem; }

/* =========================================================
   TRANG HỒ SƠ (/tai-khoan)
   ========================================================= */
.acc-hero { background: var(--grad-dark); color: #fff; padding: clamp(2.2rem, 5vw, 3.4rem) 0; }
.acc-hero-inner { display: flex; align-items: center; gap: 1.25rem; }
.acc-hero h1 { color: #fff; font-size: var(--fs-d3); font-weight: 900; margin: .6rem 0 .2rem; }
.acc-hero-mail { margin: 0; color: rgba(255, 255, 255, .72); font-size: var(--fs-sm); word-break: break-all; }

/* Ảnh đại diện: <img> phủ kín, không có ảnh thì <span> chữ cái đầu. Đặt overflow:hidden
   ở đây để ảnh vuông vẫn bo tròn mà không cần cắt sẵn khi tải lên. */
.acc-avatar {
    position: relative; flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%;
    overflow: hidden; display: grid; place-items: center;
    background: var(--grad-brand-2); color: #fff; font-weight: 800; font-size: var(--fs-xl);
    border: 2px solid rgba(255, 255, 255, .35);
}
.acc-avatar.lg { width: 88px; height: 88px; font-size: var(--fs-2xl); }
.acc-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.acc-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm); padding: clamp(1.25rem, 2.5vw, 1.9rem); margin-bottom: 1.5rem;
}
.acc-card:last-child { margin-bottom: 0; }
.acc-card-title {
    display: flex; align-items: center; gap: .6rem; margin: 0 0 1.1rem;
    font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md); color: var(--ink);
}
.acc-card-title i { color: var(--blue-600); font-size: var(--fs-lg); }
.acc-card-foot { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px dashed var(--line); }
.acc-note { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 1.1rem; }

.acc-badge {
    display: inline-block; padding: .18rem .6rem; border-radius: 999px;
    font-size: var(--fs-2xs); font-weight: 700;
    background: var(--bg-soft-2); color: var(--blue-700);
}
.acc-badge.ok { background: rgba(25, 135, 84, .12); color: #157347; }
.acc-badge.warn { background: rgba(255, 193, 7, .18); color: #96700a; }

.acc-avatar-row {
    display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap;
    padding-bottom: 1.25rem; margin-bottom: .5rem; border-bottom: 1px dashed var(--line);
}
/* Nút chọn tệp là <label for> — input file thật bị ẩn bằng .visually-hidden để giữ
   được thao tác bàn phím (display:none sẽ loại nó khỏi thứ tự tab). */
.acc-file-btn {
    display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
    padding: .4rem 1rem; border-radius: 999px; border: 1px solid var(--line);
    background: var(--bg-soft); color: var(--ink); font-weight: 700; font-size: var(--fs-xs);
    transition: .25s var(--ease);
}
.acc-file-btn:hover { border-color: rgba(75,45,191,.45); color: var(--blue-700); }

.acc-danger { border-color: rgba(217, 83, 79, .3); background: rgba(217, 83, 79, .03); }
.acc-danger .acc-card-title, .acc-danger .acc-card-title i { color: #b53c38; }

@media (max-width: 575.98px) {
    .acc-hero-inner { flex-direction: column; align-items: flex-start; }
    .verify-actions { flex-direction: column; gap: .6rem; }
}

/* =========================================================
   MENU TÀI KHOẢN TRÊN THANH ĐIỀU HƯỚNG
   ========================================================= */
.nav-user-btn {
    display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
    padding: .3rem .75rem .3rem .3rem; border-radius: 999px;
    border: 1px solid var(--line); background: #fff; color: var(--ink);
    font-weight: 700; font-size: var(--fs-sm); max-width: 190px;
}
.nav-user-btn:hover { border-color: rgba(75,45,191,.45); color: var(--blue-700); }
.nav-user-btn .acc-avatar { width: 30px; height: 30px; font-size: var(--fs-xs); border-width: 0; }
.nav-user-btn .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-user-menu { border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: .4rem; }
.nav-user-menu .dropdown-item { border-radius: 10px; font-size: var(--fs-sm); padding: .5rem .75rem; }
.nav-user-menu .dropdown-header { font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: .08em; }

/* Nút Đăng nhập / Đăng ký cho khách. Ở màn hình hẹp chúng nhường chỗ cho nút hotline
   và nút mở menu — bản mobile nằm trong .mobile-overlay. */
.nav-auth { display: none; align-items: center; gap: .5rem; }
@media (min-width: 992px) { .nav-auth { display: inline-flex; } }
.nav-auth .lnk {
    font-weight: 700; font-size: var(--fs-sm); color: var(--ink); text-decoration: none;
    padding: .4rem .5rem; border-radius: 999px;
}
.nav-auth .lnk:hover { color: var(--blue-600); }

/* Khối tài khoản trong menu mobile */
.mo-user { display: flex; align-items: center; gap: .8rem; padding: .9rem 0; border-bottom: 1px dashed var(--line); margin-bottom: .5rem; }
.mo-user .nm { font-weight: 800; }
.mo-user .em { font-size: var(--fs-xs); color: var(--muted); word-break: break-all; }
/* Trong menu trượt thì .btn-ghost quay lại khổ lớn: ở đây nó là vùng chạm bằng ngón tay,
   nút cao 36px của bản mặc định là dưới mức 44px tối thiểu cho thao tác cảm ứng. */
.mo-auth { display: grid; gap: .6rem; margin-top: .8rem; }
.mo-auth .btn-ghost { padding: .75rem 1.15rem; font-size: var(--fs-base); }

/* =========================================================
   PHÓNG TO ẢNH (lightbox)
   Khung do public/js/site.js dựng và chèn vào cuối <body>.
   ========================================================= */

.is-zoomable { cursor: zoom-in; }

.lightbox {
    position: fixed; inset: 0; z-index: 2000;
    display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem);
    background: rgba(7,11,29,.93);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    /* Chỉ dùng animation để làm mềm lúc mở, KHÔNG để nó giữ trạng thái hiển thị: luật
       `* { animation: none !important }` của prefers-reduced-motion sẽ tắt animation, mà nếu
       opacity gốc là 0 thì lớp phủ tắt luôn và người dùng bấm vào ảnh chỉ thấy trang khoá cứng. */
    animation: lb-in .25s var(--ease);
}
@keyframes lb-in { from { opacity: 0; } }

/* Đặt SAU các luật display ở trên và có độ đặc hiệu (0,2,0) để thắng chúng.
   JS bật/tắt bằng thuộc tính `hidden`, mà luật `[hidden] { display: none }` của Bootstrap
   chỉ là (0,1,0) — thua `.lightbox { display: flex }` nên lớp phủ sẽ hiện ngay khi tải trang. */
.lightbox[hidden], .lightbox [hidden] { display: none; }

.lb-stage {
    margin: 0; display: flex; flex-direction: column; align-items: center; gap: .9rem;
    max-width: 100%; animation: lb-zoom .28s var(--ease);
}
@keyframes lb-zoom { from { transform: scale(.94); } }

.lb-img {
    display: block; max-width: min(1200px, 92vw); max-height: 80vh;
    width: auto; height: auto; object-fit: contain;
    border-radius: var(--r-md); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8);
    background: rgba(255, 255, 255, .04);
    transition: opacity .2s var(--ease);
}
.lightbox.is-loading .lb-img { opacity: .35; }

.lb-cap {
    max-width: min(800px, 90vw); text-align: center;
    color: rgba(255, 255, 255, .78); font-size: var(--fs-sm); line-height: 1.5;
}

.lb-count {
    position: absolute; top: clamp(.75rem, 2vw, 1.5rem); left: clamp(.75rem, 2vw, 1.5rem);
    padding: .3rem .8rem; border-radius: 999px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .85); font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .04em;
}

.lb-btn {
    position: absolute; display: grid; place-items: center; cursor: pointer;
    width: 2.9rem; height: 2.9rem; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08);
    color: #fff; font-size: var(--fs-lg);
    transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.lb-btn:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .4); }
.lb-btn:active { transform: scale(.94); }
.lb-close { top: clamp(.75rem, 2vw, 1.5rem); right: clamp(.75rem, 2vw, 1.5rem); }
.lb-prev { left: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lb-prev:active, .lb-next:active { transform: translateY(-50%) scale(.94); }

/* Khoá cuộn nền phải đặt trên <html>: <body> đang có overflow-x:clip nên overflow của nó
   KHÔNG truyền lên viewport — đúng lý do đã ghi ở phần menu mobile. */
html.lightbox-open { overflow: hidden; }

@media (max-width: 575.98px) {
    /* Điện thoại: nút trước–sau xuống mép dưới cho khỏi che ảnh, và vuốt ngang vẫn dùng được. */
    .lb-img { max-height: 68vh; }
    .lb-btn { width: 2.5rem; height: 2.5rem; font-size: var(--fs-md); }
    .lb-prev, .lb-next { top: auto; bottom: 1.25rem; transform: none; }
    .lb-prev:active, .lb-next:active { transform: scale(.94); }
    .lb-prev { left: 25%; }
    .lb-next { right: 25%; }
}