/* ==========================================================================
   Layout dùng chung toàn site (Figma "Homepage - BOL"): header, footer, thanh social nổi, nút.
   Không đặt style lên body/thẻ trần: mọi rule nằm dưới class hv2-* để trang cũ không bị ảnh hưởng.
   ========================================================================== */
:root {
    --hv2-red: #7A0305;
    --hv2-red-mid: #6D020A;
    --hv2-red-dark: #540203;
    --hv2-heading: #8B1E1E;
    --hv2-cream: #FBF8F2;
    --hv2-peach: #FCD9B1;
    --hv2-border: #EEDDC8;
    --hv2-orange: #E4570A;
    --hv2-gold: #E0A93B;
    --hv2-ink: #1F1B18;
    --hv2-text: #4A443D;
    --hv2-muted: #6B6259;
    --hv2-font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.hv2-header, .hv2-footer, .hv2-floating { font-family: var(--hv2-font); font-size: 16px; line-height: 1.55; }
.hv2-header *, .hv2-header *::before, .hv2-header *::after,
.hv2-footer *, .hv2-footer *::before, .hv2-footer *::after,
.hv2-floating *, .hv2-floating *::before, .hv2-floating *::after { box-sizing: border-box; }
.hv2-header h1, .hv2-header h2, .hv2-header h3, .hv2-header p, .hv2-header ul,
.hv2-footer h1, .hv2-footer h2, .hv2-footer h3, .hv2-footer p, .hv2-footer ul { margin: 0; padding: 0; }
.hv2-header ul, .hv2-footer ul { list-style: none; }
.hv2-header a, .hv2-footer a, .hv2-floating a { text-decoration: none; }
.hv2-header img, .hv2-footer img { max-width: 100%; height: auto; display: block; }

.hv2-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ---------- Buttons ---------- */
.hv2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 6px; border: 2px solid transparent; font-family: var(--hv2-font); font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.hv2-btn--sm { padding: 11px 20px; font-size: 12.5px; }
.hv2-btn--block { display: flex; width: 100%; }
.hv2-btn--primary { background: var(--hv2-red); color: #fff; box-shadow: 0 4px 10px rgba(122, 3, 5, .3); }
.hv2-btn--primary:hover { background: #5b0204; color: #fff; }
.hv2-btn--outline { background: transparent; color: var(--hv2-heading); border-color: var(--hv2-heading); }
.hv2-btn--outline:hover { background: var(--hv2-heading); color: #fff; }
.hv2-btn--peach { background: var(--hv2-peach); color: var(--hv2-red); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.hv2-btn--peach:hover { background: #fff; color: var(--hv2-red); }
.hv2-btn--white { background: #fff; color: var(--hv2-red); border-color: var(--hv2-red); }
.hv2-btn--white:hover { background: var(--hv2-cream); }

.hv2-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--hv2-orange); }
.hv2-link i { font-size: 10px; }
.hv2-link--dark { color: var(--hv2-red); }
.hv2-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.hv2-header { position: relative; z-index: 999; height: 81px; background: var(--hv2-peach); border-bottom: 1px solid rgba(122, 3, 5, .2); box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.hv2-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
/* style-tailwind.css ép img{height:auto!important} nên chỉnh kích thước logo qua width */
.hv2-header__logo img { width: 46px; height: auto; }
.hv2-nav { display: flex; align-items: center; gap: 44px; }
.hv2-nav__link { position: relative; padding: 6px 0; font-size: 16px; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; color: var(--hv2-red); }
.hv2-nav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--hv2-red); transform: scaleX(0); transition: transform .2s; }
.hv2-nav__link:hover::after,
.hv2-nav__link.is-active::after { transform: scaleX(1); }
.hv2-cta { position: relative; }
.hv2-cta__menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 200px; background: #fff; border: 1px solid var(--hv2-border); border-radius: 10px; box-shadow: 0 12px 28px rgba(0, 0, 0, .16); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .18s; }
.hv2-cta.is-open .hv2-cta__menu { opacity: 1; visibility: visible; transform: none; }
.hv2-cta__menu a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 8px; font-size: 14px; font-weight: 700; color: var(--hv2-red); }
.hv2-cta__menu a:hover { background: var(--hv2-cream); }

/* ---------- Footer ---------- */
.hv2-footer { background: var(--hv2-peach); border-top: 1px solid rgba(122, 3, 5, .2); padding: 64px 0 48px; color: var(--hv2-red); }
.hv2-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.hv2-footer__logo img { width: 64px; height: auto; margin-bottom: 16px; }
.hv2-footer__about { font-size: 16px; line-height: 1.6; max-width: 380px; color: var(--hv2-red); }
.hv2-footer__social { display: flex; gap: 12px; margin-top: 22px; }
.hv2-footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(122, 3, 5, .35); background: rgba(255, 255, 255, .35); display: inline-flex; align-items: center; justify-content: center; color: var(--hv2-red); font-size: 16px; transition: all .2s; }
.hv2-footer__social a:hover { background: var(--hv2-red); color: #fff; }
.hv2-footer__title { font-size: 16px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--hv2-red); margin-bottom: 20px; }
.hv2-footer__links li { font-size: 16px; line-height: 1.5; margin-bottom: 14px; color: #5b2a26; }
.hv2-footer__links a { color: #5b2a26; }
.hv2-footer__links a:hover { color: var(--hv2-red); text-decoration: underline; }
.hv2-footer__contact strong { color: var(--hv2-red); }
.hv2-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(122, 3, 5, .3); font-size: 14.5px; font-weight: 500; }
.hv2-footer__bottom nav { display: flex; gap: 28px; }
.hv2-footer__bottom a { color: var(--hv2-red); }
.hv2-footer__bottom a:hover { text-decoration: underline; }

/* ---------- Thanh social nổi ---------- */
.hv2-floating { position: fixed; right: 20px; bottom: 150px; z-index: 990; display: flex; flex-direction: column; gap: 14px; }
.hv2-floating__btn { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; font-weight: 800; box-shadow: 0 8px 18px rgba(0, 0, 0, .28); transition: transform .2s; }
.hv2-floating__btn:hover { transform: scale(1.1); color: #fff; }
.hv2-floating__btn.is-zalo { background: #2F6BFF; font-size: 14px; letter-spacing: .01em; }
.hv2-floating__btn.is-tiktok { background: #000; }
.hv2-floating__btn.is-messenger { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.hv2-floating__btn.is-phone { background: var(--hv2-orange); animation: hv2-ring 2.4s infinite; }
@keyframes hv2-ring { 0% { box-shadow: 0 0 0 0 rgba(228, 87, 10, .55), 0 8px 18px rgba(0, 0, 0, .28); } 70% { box-shadow: 0 0 0 16px rgba(228, 87, 10, 0), 0 8px 18px rgba(0, 0, 0, .28); } 100% { box-shadow: 0 0 0 0 rgba(228, 87, 10, 0), 0 8px 18px rgba(0, 0, 0, .28); } }


/* Header dính đầu trang trên mọi trang */
.hv2-header { position: sticky; top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .hv2-nav { gap: 28px; }
    .hv2-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .hv2-footer__grid > div:last-child { grid-column: 1 / -1; }
}
/* <=991px: header cũ (mmenu) thay thế header mới */
@media (max-width: 991px) {
    .hv2-header { display: none; }
    .hv2-container { padding: 0 20px; }
    .hv2-footer__grid { grid-template-columns: 1fr 1fr; }
    .hv2-footer__brand { grid-column: 1 / -1; }
    .hv2-footer__grid > div:last-child { grid-column: auto; }
}
@media (max-width: 767px) {
    .hv2-footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .hv2-footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
    .hv2-footer__bottom nav { flex-wrap: wrap; gap: 14px 22px; }
    .hv2-floating { display: none; }
}
