/* ==========================================================================
   Page Builder — CSS dùng chung cho toàn bộ block (frontend + fullpage)
   Nạp ở: includes/footer.php (embedded) và includes/page-chrome.php (fullpage)
   ========================================================================== */

:root {
    --pb-primary: #1e3a8a;
    --pb-accent: #ca8a04;
    --pb-text: #1f2937;
    --pb-muted: #64748b;
    --pb-border: #e5e7eb;
    --pb-radius: 16px;
    --pb-icon-size: 64px;
    --pb-icon-radius: 18px;
    --pb-icon-bg: linear-gradient(135deg, var(--pb-primary), var(--pb-accent));
    --pb-icon-color: #fff;
    --pb-icon-shadow: 0 10px 24px color-mix(in srgb, var(--pb-primary) 24%, transparent);
    /* Offset cho các phần tử sticky = chiều cao header dính (+admin bar). JS cập nhật động. */
    --pb-sticky-top: 96px;
}

/* ── Section chung ── */
.pb-block {
    padding: 56px 0;
}
.pb-block.pb-block-hero,
.pb-block.pb-block-cta {
    padding: 0;
}
.pb-block-quote { padding: 32px 0; }

/* ── Viền block (cấu hình trong admin) — ôm vùng nội dung, không full-bleed ── */
.pb-block.pb-has-border > .container {
    border: var(--pbb-w, 1px) var(--pbb-s, solid) var(--pbb-c, #e11d48);
    border-radius: var(--pbb-r, 0);
    padding-top: clamp(18px, 3vw, 30px);
    padding-bottom: clamp(18px, 3vw, 30px);
}
/* Form đặt xe: viền ôm sát thẻ form (không bo ở container ngoài) */
.pb-block.pb-has-border.pb-block-car_booking > .container {
    border: 0; border-radius: 0; padding-top: 0; padding-bottom: 0;
}
/* Thử nghiệm: thay viền đứt bằng viền gradient chạy vòng quanh form */
.pb-block.pb-has-border.pb-block-car_booking .pb-car {
    border: 0;
}
@property --pb-car-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}
.pb-block.pb-has-border.pb-block-car_booking .pb-car::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 3px;
    background: conic-gradient(from var(--pb-car-angle),
        var(--pb-car-accent, #f97316), #fbbf24, #ffffff,
        var(--pbb-c, #e11d48), var(--pb-car-accent, #f97316));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
    animation: pb-car-border-spin 4s linear infinite;
}
@keyframes pb-car-border-spin {
    to { --pb-car-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
    .pb-block.pb-has-border.pb-block-car_booking .pb-car::before { animation: none; }
}

/* ── Khoảng cách block tuỳ chỉnh (space_top / space_bottom) ── */
.pb-block.pb-space-top-none { padding-top: 0; }
.pb-block.pb-space-top-sm { padding-top: 24px; }
.pb-block.pb-space-top-md { padding-top: 48px; }
.pb-block.pb-space-top-lg { padding-top: 80px; }
.pb-block.pb-space-top-xl { padding-top: 120px; }
.pb-block.pb-space-bottom-none { padding-bottom: 0; }
.pb-block.pb-space-bottom-sm { padding-bottom: 24px; }
.pb-block.pb-space-bottom-md { padding-bottom: 48px; }
.pb-block.pb-space-bottom-lg { padding-bottom: 80px; }
.pb-block.pb-space-bottom-xl { padding-bottom: 120px; }

.pb-heading { text-align: center; margin-bottom: 36px; }
.pb-heading-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--pb-primary);
    margin: 0 0 8px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}
.pb-heading-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--pb-accent);
    border-radius: 3px;
}
.pb-heading-sub { color: var(--pb-muted); font-size: 1rem; margin: 0; }
.pb-heading-style-split {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}
.pb-heading-style-split .pb-heading-title {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 0;
}
.pb-heading-style-split .pb-heading-title::before,
.pb-heading-style-split .pb-heading-title::after {
    content: "";
    position: static;
    transform: none;
    width: 72px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--pb-accent));
}
.pb-heading-style-split .pb-heading-title::after {
    background: linear-gradient(90deg, var(--pb-accent), transparent);
}
.pb-heading-style-split .pb-heading-sub { margin-top: 16px; }
.pb-heading-style-pill .pb-heading-title {
    padding: 10px 24px 12px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--pb-primary), var(--pb-accent));
    box-shadow: 0 14px 34px color-mix(in srgb, var(--pb-primary) 20%, transparent);
}
.pb-heading-style-pill .pb-heading-title::after { display: none; }
.pb-heading-style-pill .pb-heading-sub { margin-top: 18px; }
.pb-heading-style-accent-bar {
    text-align: left;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    border-left: 5px solid var(--pb-accent);
}
.pb-heading-style-accent-bar .pb-heading-title {
    padding-bottom: 0;
    margin-bottom: 8px;
}
.pb-heading-style-accent-bar .pb-heading-title::after { display: none; }
.pb-heading-style-frame {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 26px;
    border: 2px solid color-mix(in srgb, var(--pb-accent) 72%, transparent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--pb-accent) 4%, transparent);
}
.pb-heading-style-frame .pb-heading-title { padding-bottom: 0; }
.pb-heading-style-frame .pb-heading-title::after { display: none; }
.pb-heading-style-frame .pb-heading-sub { margin-top: 10px; }
@media (max-width: 575.98px) {
    .pb-heading-style-split .pb-heading-title { gap: 10px; }
    .pb-heading-style-split .pb-heading-title::before,
    .pb-heading-style-split .pb-heading-title::after { width: 28px; }
    .pb-heading-style-accent-bar { padding-left: 16px; }
    .pb-heading-style-pill .pb-heading-title { border-radius: 18px; }
}

.pb-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    border-bottom: 2px solid var(--pb-accent);
    padding-bottom: 12px;
}
.pb-section-head .pb-heading-title { padding-bottom: 0; }
.pb-section-head .pb-heading-title::after { display: none; }
.pb-section-head.pb-heading-style-split .pb-heading-title {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.pb-section-head.pb-heading-style-split .pb-heading-title::before,
.pb-section-head.pb-heading-style-split .pb-heading-title::after {
    content: "";
    display: block;
    position: static;
    transform: none;
    width: 52px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--pb-accent));
}
.pb-section-head.pb-heading-style-split .pb-heading-title::after {
    background: linear-gradient(90deg, var(--pb-accent), transparent);
}
.pb-section-head.pb-heading-style-split {
    position: relative;
    display: block;
    text-align: center;
}
.pb-section-head.pb-heading-style-split .pb-section-head-main {
    max-width: 760px;
    margin: 0 auto;
}
.pb-section-head.pb-heading-style-split .pb-heading-sub {
    margin-top: 14px;
    padding: 0 160px 0;
}
.pb-section-head.pb-heading-style-split .pb-see-all {
    position: absolute;
    right: 0;
    bottom: 12px;
}
.pb-section-head.pb-heading-style-pill,
.pb-section-head.pb-heading-style-frame,
.pb-section-head.pb-heading-style-accent-bar {
    border-bottom: 0;
}
.pb-section-head.pb-heading-style-pill .pb-heading-title {
    padding: 10px 22px 12px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--pb-primary), var(--pb-accent));
    box-shadow: 0 14px 34px color-mix(in srgb, var(--pb-primary) 20%, transparent);
}
.pb-section-head.pb-heading-style-accent-bar {
    align-items: center;
    padding-left: 20px;
    border-left: 5px solid var(--pb-accent);
}
.pb-section-head.pb-heading-style-frame {
    padding: 18px 22px;
    border: 2px solid color-mix(in srgb, var(--pb-accent) 72%, transparent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--pb-accent) 4%, transparent);
}
@media (max-width: 575.98px) {
    .pb-section-head.pb-heading-style-split .pb-heading-title::before,
    .pb-section-head.pb-heading-style-split .pb-heading-title::after { width: 24px; }
    .pb-section-head.pb-heading-style-split .pb-heading-sub { padding: 0; }
    .pb-section-head.pb-heading-style-split .pb-see-all { position: static; display: inline-flex; margin-top: 12px; }
    .pb-section-head.pb-heading-style-pill .pb-heading-title { border-radius: 18px; }
    .pb-section-head.pb-heading-style-accent-bar { padding-left: 16px; }
}
.pb-see-all {
    flex-shrink: 0;
    color: var(--pb-accent);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.pb-see-all:hover { text-decoration: underline; }

/* ── Buttons ── */
.pb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, opacity .15s;
    font-size: .98rem;
}
.pb-btn-primary { background: var(--pb-primary); color: #fff; }
.pb-btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30,58,138,.3); }
.pb-btn-light { background: #fff; color: var(--pb-primary); }
.pb-btn-light:hover { color: var(--pb-primary); transform: translateY(-2px); }
.pb-btn-zalo { background: #0068ff; color: #fff; }
.pb-btn-zalo:hover { color: #fff; }

/* ── Hero ── */
.pb-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow-x: clip;
}
.pb-hero.has-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,.45), rgba(15,23,42,.65));
}
.pb-hero-inner { position: relative; z-index: 2; width: 100%; }
.pb-hero-text { position: relative; display: inline-block; max-width: 100%; }
.text-center .pb-hero-text { display: block; }
/* Lớp nền tối khu trú sau chữ — đảm bảo nổi bật trên mọi ảnh nền */
.pb-hero-text::before {
    content: "";
    position: absolute;
    inset: -28px -48px;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(10,15,30,.62) 0%, rgba(10,15,30,.42) 55%, rgba(10,15,30,0) 80%);
    pointer-events: none;
}
/* Mobile: thu hẹp phần tràn ngang của lớp nền tối để không làm vỡ khung ngang */
@media (max-width: 767.98px) {
    .pb-hero-text::before { inset: -18px -8px; }
}
.pb-hero-title {
    font-size: calc(clamp(2.2rem, 6.5vw, 4.5rem) * var(--pb-hero-fs, 1));
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 18px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 4px 16px rgba(0,0,0,.7), 0 8px 40px rgba(0,0,0,.5);
    letter-spacing: .01em;
}
.pb-hero .pb-hero-title { color: #fff; }
.pb-hero-accent {
    color: #fcd34d;
    display: block;
    margin-top: 4px;
    text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 4px 16px rgba(0,0,0,.7), 0 2px 24px rgba(180,83,9,.6);
}
.pb-hero-sub { font-size: calc(clamp(1.05rem, 2.4vw, 1.5rem) * var(--pb-hero-fs, 1)); font-weight: 600; margin: 0 0 18px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 3px 14px rgba(0,0,0,.6); }
.pb-hero-note {
    display: inline-block;
    background: rgba(202,138,4,.92);
    color: #fff;
    padding: 16px 28px;
    border-radius: 8px;
    font-style: normal;
    font-size: calc(1rem * var(--pb-hero-fs, 1));
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.6;
}
/* Gói cỡ chữ Hero (áp cho tiêu đề + phụ + ghi chú theo tỷ lệ) */
.pb-hero-scale-sm { --pb-hero-fs: .82; }
.pb-hero-scale-md { --pb-hero-fs: 1; }
.pb-hero-scale-lg { --pb-hero-fs: 1.18; }
.pb-hero-scale-xl { --pb-hero-fs: 1.36; }
.pb-hero-cta { margin-top: 22px; }
.pb-hero-infobox {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    margin-top: 30px;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: var(--pb-radius);
    padding: 20px 28px;
}
.pb-hero-info-item { display: flex; flex-direction: column; }
.pb-hero-info-label { font-size: .8rem; text-transform: uppercase; opacity: .85; letter-spacing: .04em; }
.pb-hero-info-value { font-size: 1.3rem; font-weight: 800; }
.text-left .pb-hero-infobox { justify-content: flex-start; }

/* ── Quote ── */
.pb-quote {
    text-align: center;
    font-size: clamp(1.2rem, 3vw, 1.9rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.pb-quote-mark { font-size: 1.6em; line-height: 0; vertical-align: -0.35em; opacity: .55; }

/* ── Projects grid ── */
.pb-project-card {
    display: block;
    border-radius: var(--pb-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 24px rgba(15,23,42,.08);
    text-decoration: none;
    color: var(--pb-text);
    height: 100%;
    transition: transform .2s, box-shadow .2s;
}
.pb-project-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(15,23,42,.16); color: var(--pb-text); }
.pb-project-thumb { position: relative; aspect-ratio: 16/11; overflow: hidden; background: #eef2f7; }
.pb-project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pb-project-thumb-ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2.5rem; color: #c3c9d4; }
.pb-project-price {
    position: absolute; top: 12px; left: 12px;
    background: var(--pb-accent); color: #fff;
    padding: 5px 12px; border-radius: 6px;
    font-size: .8rem; font-weight: 700;
}
.pb-project-body { padding: 16px 18px; }
.pb-project-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 6px; }
.pb-project-meta { font-size: .88rem; color: var(--pb-muted); margin: 0; }

/* ── Support steps ── */
.pb-support-desc { color: var(--pb-muted); max-width: 720px; margin: 0 auto 28px; text-align: center; }
.pb-support-cols { counter-reset: pb-step; }
.pb-support-col {
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius);
    padding: 26px 22px 22px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pb-support-col:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .1);
    border-color: color-mix(in srgb, var(--pb-primary) 35%, var(--pb-border));
}
.pb-support-col::before {
    counter-increment: pb-step;
    content: counter(pb-step, decimal-leading-zero);
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: color-mix(in srgb, var(--pb-primary) 16%, transparent);
}
.pb-support-col-title {
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--pb-primary);
    font-weight: 800;
    margin: 0 0 14px;
    padding: 0 38px 0 0;
    border: 0;
}
.pb-support-list { list-style: none; padding: 0; margin: 0; }
.pb-support-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--pb-text); font-weight: 500; }
.pb-support-list li i {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--pb-icon-bg);
    color: var(--pb-icon-color);
    font-size: 1.05rem;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--pb-primary) 18%, transparent);
}
.pb-support-contacts { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.pb-support-img { max-width: 100%; height: auto; border-radius: var(--pb-radius); }
@media (prefers-reduced-motion: reduce) {
    .pb-support-col { transition: none; }
    .pb-support-col:hover { transform: none; }
}

/* ── News grid ── */
.pb-news-card {
    display: block; background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 16px rgba(15,23,42,.07); text-decoration: none; color: var(--pb-text);
    height: 100%; transition: transform .2s, box-shadow .2s;
}
.pb-news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(15,23,42,.14); color: var(--pb-text); }
.pb-news-thumb { aspect-ratio: 16/10; overflow: hidden; background: #eef2f7; }
.pb-news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pb-news-thumb-ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2rem; color: #c3c9d4; }
.pb-news-body { padding: 14px 16px; }
.pb-news-title {
    font-size: .98rem; font-weight: 700; margin: 0 0 8px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pb-news-date { font-size: .82rem; color: var(--pb-muted); }

/* ── CTA ── */
.pb-cta { padding: 28px 0; color: #fff; }
.pb-cta-inner {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
    padding: 30px 38px; border-radius: 20px;
    background: linear-gradient(120deg, rgba(0,0,0,.18), rgba(0,0,0,0) 60%);
    box-shadow: 0 20px 48px -16px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.12);
}
.pb-cta-inner::before {
    content: ""; position: absolute; top: -60%; right: -5%; width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%);
    pointer-events: none;
}
.pb-cta-text { position: relative; display: flex; align-items: center; gap: 18px; z-index: 1; }
.pb-cta-icon {
    flex-shrink: 0; width: 58px; height: 58px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
    animation: pb-cta-pulse 2s ease-in-out infinite;
}
@keyframes pb-cta-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.4); }
    70% { box-shadow: 0 0 0 14px rgba(255,255,255,0); }
}
.pb-cta-text-light, .pb-cta-text-light .pb-cta-title, .pb-cta-text-light .pb-cta-subtitle, .pb-cta-text-light .pb-cta-desc { color: #fff; }
.pb-cta-text-dark, .pb-cta-text-dark .pb-cta-title, .pb-cta-text-dark .pb-cta-subtitle, .pb-cta-text-dark .pb-cta-desc { color: #0f172a; }
.pb-cta-text-dark .pb-cta-icon { background: rgba(0,0,0,.08); border-color: rgba(0,0,0,.15); color: #0f172a; }
.pb-cta-title { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 800; margin: 0 0 4px; line-height: 1.2; color: #fff; }
.pb-cta-subtitle { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .8; margin-bottom: 4px; }
.pb-cta-desc { opacity: .92; margin: 0; font-size: 1rem; }
.pb-cta-btn {
    position: relative; z-index: 1; flex-shrink: 0;
    padding: 15px 32px; font-size: 1.08rem; font-weight: 800;
    border-radius: 999px; box-shadow: 0 10px 26px -8px rgba(0,0,0,.5);
    transition: transform .15s, box-shadow .15s;
}
.pb-cta-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 34px -8px rgba(0,0,0,.55); }

/* ── Highlights ── */
.pb-highlights { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.pb-highlight-item {
    display: flex; align-items: center; gap: 10px;
    background: #f8fafc; border: 1px solid var(--pb-border);
    border-radius: 999px; padding: 10px 20px; font-weight: 600;
}
.pb-highlight-item i { color: #16a34a; font-size: 1.2rem; }

/* ── Overview ── */
.pb-overview-intro { color: var(--pb-text); line-height: 1.7; margin-bottom: 18px; }
.pb-overview-table { width: 100%; border-collapse: collapse; }
.pb-overview-table th, .pb-overview-table td { padding: 11px 14px; border-bottom: 1px solid var(--pb-border); text-align: left; vertical-align: top; }
.pb-overview-table th { width: 38%; color: var(--pb-muted); font-weight: 600; background: #f8fafc; }
.pb-overview-table td { font-weight: 600; }
.pb-overview-img { width: 100%; height: auto; border-radius: var(--pb-radius); }

/* Media + text */
.pb-media-text {
    --pb-media-accent: var(--pb-primary);
}
.pb-media-copy {
    max-width: 620px;
}
.pb-media-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--pb-media-accent);
    font-size: .82rem;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.pb-media-eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}
.pb-media-title {
    margin: 0;
    color: var(--site-heading, var(--pb-primary));
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    line-height: 1.12;
    font-weight: 850;
    letter-spacing: 0;
}
.pb-media-desc {
    margin-top: 18px;
    color: var(--pb-text);
    font-size: 1.04rem;
    line-height: 1.8;
}
.pb-media-desc > :last-child { margin-bottom: 0; }
.pb-media-features {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}
.pb-media-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--pb-text);
    font-weight: 650;
    line-height: 1.55;
}
.pb-media-features i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin-top: 1px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pb-media-accent) 14%, #fff);
    color: var(--pb-media-accent);
    font-size: .98rem;
}
.pb-media-btn { margin-top: 26px; background: var(--pb-media-accent); border-color: var(--pb-media-accent); }
.pb-media-btn:hover,
.pb-media-btn:focus {
    background: color-mix(in srgb, var(--pb-media-accent) 86%, #000);
    border-color: color-mix(in srgb, var(--pb-media-accent) 86%, #000);
}
.pb-media-figure {
    position: relative;
    overflow: hidden;
    margin: 0;
    border-radius: 8px;
    background: #e2e8f0;
    box-shadow: 0 22px 50px rgba(15,23,42,.14);
}
.pb-media-figure::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: inherit;
    pointer-events: none;
}
.pb-media-figure img,
.pb-media-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pb-media-ratio-landscape { aspect-ratio: 16/10; }
.pb-media-ratio-square { aspect-ratio: 1; }
.pb-media-ratio-portrait { aspect-ratio: 4/5; }
.pb-media-placeholder {
    display: grid;
    place-items: center;
    color: #94a3b8;
    font-size: 3rem;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

/* Project detail: content + sidebar */
.pb-project-showcase { --pbs-accent: var(--pb-accent); }
.pbs-media {
    overflow: hidden;
    border-radius: 8px;
    background: #f1f5f9;
    box-shadow: 0 18px 44px rgba(15,23,42,.12);
}
.pbs-main-img {
    display: block;
    width: 100%;
    aspect-ratio: 16/8.6;
    object-fit: cover;
}
.pbs-thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}
.pbs-thumb {
    border: 2px solid transparent;
    padding: 0;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .16s, transform .16s, box-shadow .16s;
}
.pbs-thumb:hover,
.pbs-thumb.active {
    border-color: var(--pbs-accent);
    box-shadow: 0 8px 18px rgba(15,23,42,.14);
}
.pbs-thumb:hover { transform: translateY(-1px); }
.pbs-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.pbs-content { padding-top: 30px; }
.pb-project-showcase.no-media .pbs-content { padding-top: 0; }
.pbs-title {
    margin: 0;
    color: #20242c;
    font-size: clamp(2rem, 4.6vw, 3.35rem);
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: 0;
}
.pbs-subtitle {
    margin-top: 14px;
    color: #334155;
    font-size: 1.28rem;
    font-weight: 650;
}
.pbs-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #64748b;
    font-size: 1.05rem;
    font-weight: 600;
}
.pbs-location i { color: var(--pbs-accent); }
.pbs-richtext {
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid #e5e7eb;
    color: #334155;
    font-size: 1.04rem;
    line-height: 1.85;
}
.pbs-richtext > :last-child { margin-bottom: 0; }
.pbs-sidebar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 18px 44px rgba(15,23,42,.12);
}
.pbs-sidebar.is-sticky {
    position: sticky;
    top: var(--pb-sticky-top);
}
.pbs-side-title {
    margin: 0;
    color: #242832;
    font-size: clamp(1.85rem, 3vw, 2.65rem);
    line-height: 1.18;
    font-weight: 850;
    letter-spacing: 0;
}
/* Cỡ chữ tiêu đề sidebar (cấu hình trong widget) */
.pbs-side-title.pbs-title-sm { font-size: clamp(1.1rem, 1.4vw, 1.35rem); line-height: 1.3; }
.pbs-side-title.pbs-title-md { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.25; }
.pbs-side-title.pbs-title-lg { font-size: clamp(1.85rem, 3vw, 2.65rem); }
.pbs-side-subtitle {
    margin-top: 16px;
    color: #20242c;
    font-size: 1.18rem;
    font-weight: 650;
    line-height: 1.55;
}
.pbs-price {
    margin-top: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e5e7eb;
}
.pbs-price-label {
    color: #8a94a6;
    font-size: .96rem;
    margin-bottom: 8px;
}
.pbs-price-value {
    color: #dc2626;
    font-size: 1.55rem;
    line-height: 1.2;
    font-weight: 850;
}
.pbs-info {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}
.pbs-info-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.55;
}
.pbs-info-row span { color: #8a94a6; }
.pbs-info-row strong {
    color: #242832;
    font-weight: 750;
}
.pbs-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    margin-top: 30px;
    border-radius: 6px;
    background: linear-gradient(135deg, #ffe98a, var(--pbs-accent));
    color: #1f2937;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.08rem;
    box-shadow: 0 10px 24px rgba(202,138,4,.22);
    transition: transform .16s, box-shadow .16s;
}
.pbs-primary:hover {
    color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(202,138,4,.28);
}
.pbs-side-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
    flex-wrap: wrap;
}
.pbs-side-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #075985;
    text-decoration: none;
    font-size: 1.02rem;
    font-weight: 800;
}
.pbs-side-actions a + a {
    padding-left: 18px;
    border-left: 1px solid #d1d5db;
}
.pbs-side-actions a:hover { color: #0c4a6e; }

/* Page-level layout with sidebar widgets */
.pb-page-shell {
    padding: 56px 0;
    background: #fff;
}
.pb-page-main .pb-block {
    padding: 0 0 42px;
}
.pb-page-main .pb-block:last-child {
    padding-bottom: 0;
}
.pb-page-main .pb-block > .container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}
.pb-page-main .pb-heading {
    text-align: left;
}
.pb-page-main .pb-heading-title::after {
    left: 0;
    transform: none;
}
.pb-page-main .pb-block-hero,
.pb-page-main .pb-block-cta {
    border-radius: 8px;
    overflow: hidden;
}
.pb-page-main .pb-hero {
    min-height: 0 !important;
    padding: 56px 0;
}
.pb-page-main .pb-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
}
.pb-page-main .pb-hero-sub {
    font-size: 1.08rem;
}
.pb-page-main .pb-hero-infobox {
    justify-content: flex-start;
}
.pb-page-main .pb-media-title {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
}
.pb-page-main .pb-media-desc {
    font-size: 1rem;
}
.pb-page-main .pb-cta {
    padding: 34px 0;
}
.pb-page-sidebar {
    --pbs-accent: var(--pb-accent);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 18px 44px rgba(15,23,42,.12);
}
.pb-page-sidebar.is-sticky {
    position: sticky;
    top: var(--pb-sticky-top);
}
.pb-page-sidebar-col { align-self: stretch; }
.pb-sidebar-stack {
    display: grid;
    gap: 18px;
    align-content: start;
    min-height: 100%;
}
/* Widget ghim: cần cột sidebar cao (đã stretch) để có khoảng chạy theo trang.
   Nhiều widget ghim cùng lúc -> JS (footer) gán --pb-w-top cộng dồn cho từng
   widget để chúng xếp chồng dưới nhau thay vì cùng dính top rồi đè lên nhau.
   Fallback --pb-sticky-top khi JS chưa chạy hoặc chỉ 1 widget ghim. */
.pb-sidebar-widget.is-sticky,
.pb-sidebar-card.is-sticky {
    position: sticky;
    top: var(--pb-w-top, var(--pb-sticky-top));
    align-self: start;
}
.pb-sidebar-card {
    --pbs-accent: var(--pb-accent);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 26px;
    box-shadow: 0 16px 38px rgba(15,23,42,.11);
}
.pb-sidebar-widget-title {
    margin: 0 0 14px;
    color: #242832;
    font-size: 1.18rem;
    line-height: 1.3;
    font-weight: 850;
}
.pb-sidebar-widget-desc {
    margin: -4px 0 16px;
    color: #64748b;
    font-size: .95rem;
    line-height: 1.6;
}
.pb-sidebar-form .pb-contact-form .form-control {
    min-height: 48px;
    border-radius: 12px;
}
.pb-sidebar-form .pb-contact-form textarea.form-control {
    min-height: 86px;
}
.pb-sidebar-banner {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15,23,42,.1);
}
.pb-sidebar-banner img {
    display: block;
    width: 100%;
    height: auto;
}
.pb-sidebar-toc nav {
    display: grid;
    gap: 8px;
}
.pb-sidebar-toc a {
    color: #334155;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 6px;
    background: #f8fafc;
    font-weight: 650;
    font-size: .95rem;
}
.pb-sidebar-toc a:hover {
    color: var(--pb-primary);
    background: #eef2ff;
}
.pb-sidebar-list-items {
    display: grid;
    gap: 12px;
}
.pb-sidebar-list-item {
    display: flex;
    gap: 12px;
    color: #1f2937;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    transition: transform .16s, border-color .16s, background .16s;
}
.pb-sidebar-list-item:hover {
    color: #111827;
    background: #fff;
    border-color: #dbe4ef;
    transform: translateY(-1px);
}
.pb-sidebar-list-thumb {
    flex: 0 0 82px;
    width: 82px;
    aspect-ratio: 4/3;
    border-radius: 6px;
    overflow: hidden;
    background: #e5e7eb;
}
.pb-sidebar-list-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pb-sidebar-list-body {
    min-width: 0;
    display: grid;
    gap: 4px;
}
.pb-sidebar-list-body strong {
    color: #1f2937;
    font-size: .96rem;
    line-height: 1.35;
}
.pb-sidebar-list-body small {
    color: var(--pb-accent);
    font-weight: 750;
    line-height: 1.35;
}
.pb-sidebar-list-body em {
    color: #64748b;
    font-size: .86rem;
    line-height: 1.45;
    font-style: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pb-sidebar-list-text .pb-sidebar-list-item,
.pb-sidebar-list-compact .pb-sidebar-list-item {
    display: block;
    padding: 10px 12px;
}
.pb-sidebar-list-compact .pb-sidebar-list-body em {
    display: none;
}
.pb-sidebar-more {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 14px;
    border-radius: 6px;
    background: #eef2ff;
    color: var(--pb-primary);
    text-decoration: none;
    font-weight: 800;
}
.pb-sidebar-more:hover {
    color: #fff;
    background: var(--pb-primary);
}

/* ── Location ── */
.pb-location-desc { color: var(--pb-text); line-height: 1.7; max-width: 820px; margin: 0 auto 24px; text-align: center; }
.pb-location-map { width: 100%; height: auto; border-radius: var(--pb-radius); box-shadow: 0 8px 28px rgba(15,23,42,.12); }
.pb-location-list { list-style: none; padding: 0; margin: 0; }
.pb-location-list li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--pb-border); }
.pb-location-list li i { color: var(--pb-accent); margin-top: 3px; }

/* ── Amenities ── */
.pb-amenities-desc { color: var(--pb-muted); text-align: center; max-width: 760px; margin: 0 auto 28px; }
.pb-amenity { text-align: center; padding: 22px 14px; background: #f8fafc; border-radius: var(--pb-radius); height: 100%; transition: transform .2s; }
.pb-amenity:hover { transform: translateY(-4px); }
.pb-amenity-icon { width: var(--pb-icon-size); height: var(--pb-icon-size); border-radius: var(--pb-icon-radius); background: var(--pb-icon-bg); color: var(--pb-icon-color); display: inline-flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 14px; box-shadow: var(--pb-icon-shadow); }
.pb-amenity-image { width: var(--pb-icon-size); height: var(--pb-icon-size); border-radius: var(--pb-icon-radius); background: #e5e7eb; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 14px; box-shadow: var(--pb-icon-shadow); }
.pb-amenity-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pb-amenity.has-image { padding: 0 0 22px; overflow: hidden; background: #fff; border: 1px solid rgba(148,163,184,.16); box-shadow: 0 10px 28px rgba(15,23,42,.06); }
.pb-amenity.has-image .pb-amenity-image { display: block; width: 100%; height: auto; aspect-ratio: 16/10; border-radius: 0; margin: 0 0 18px; box-shadow: none; background: #e5e7eb; }
.pb-amenity.has-image .pb-amenity-title,
.pb-amenity.has-image .pb-amenity-text { padding-left: 18px; padding-right: 18px; }
.pb-amenity-title { font-size: 1rem; font-weight: 700; margin: 0 0 4px; }
.pb-amenity-text { font-size: .86rem; color: var(--pb-muted); margin: 0; }

/* ── Gallery ── */
.pb-gallery-item { position: relative; display: block; overflow: hidden; aspect-ratio: 4/3; background: #f1f5f9; }
.pb-gallery.is-rounded .pb-gallery-item { border-radius: 12px; }
/* Ảnh phủ tuyệt đối để lấp đầy khung theo aspect-ratio (height:100% không ăn khi
   chiều cao khung sinh từ aspect-ratio ở một số trình duyệt). */
.pb-gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pb-gallery-item:hover img { transform: scale(1.06); }
/* Tỷ lệ ảnh (cấu hình) */
.pb-gallery-r-4-3 .pb-gallery-item { aspect-ratio: 4/3; }
.pb-gallery-r-1-1 .pb-gallery-item { aspect-ratio: 1/1; }
.pb-gallery-r-16-9 .pb-gallery-item { aspect-ratio: 16/9; }
.pb-gallery-r-3-2 .pb-gallery-item { aspect-ratio: 3/2; }
.pb-gallery-r-3-4 .pb-gallery-item { aspect-ratio: 3/4; }
/* Giữ nguyên: ảnh hiển thị theo kích thước thật, không cắt */
.pb-gallery-r-original .pb-gallery-item { aspect-ratio: auto; }
.pb-gallery-r-original .pb-gallery-item img { position: static; inset: auto; height: auto; object-fit: contain; }
/* Kiểu fit */
.pb-gallery-fit-cover .pb-gallery-item img { object-fit: cover; }
.pb-gallery-fit-contain .pb-gallery-item img { object-fit: contain; }
.pb-gallery-fit-contain .pb-gallery-item { background: #f1f5f9; }

/* ── Pricing ── */
.pb-pricing-desc { color: var(--pb-muted); text-align: center; max-width: 760px; margin: 0 auto 24px; }
.pb-pricing-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--pb-border);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .07);
    -webkit-overflow-scrolling: touch;
}
.pb-pricing-table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .98rem; }
.pb-pricing-table thead th {
    background: linear-gradient(135deg, var(--pb-primary), color-mix(in srgb, var(--pb-primary) 76%, #000));
    color: #fff;
    padding: 15px 18px;
    text-align: left;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .01em;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, .15);
}
.pb-pricing-table thead th:last-child { border-right: 0; }
.pb-pricing-table td {
    padding: 14px 18px;
    color: var(--pb-text);
    border-bottom: 1px solid var(--pb-border);
    border-right: 1px solid var(--pb-border);
}
.pb-pricing-table td:last-child { border-right: 0; }
.pb-pricing-table tbody tr:last-child td { border-bottom: 0; }
.pb-pricing-table tbody tr:nth-child(even) { background: #f8fafc; }
.pb-pricing-table tbody tr:hover { background: color-mix(in srgb, var(--pb-accent) 10%, #fff); }
.pb-pricing-table tbody td:first-child { font-weight: 700; color: var(--pb-primary); }
/* Căn lề nội dung bảng (theo tuỳ chọn trong admin) — gắn cùng .pb-pricing-table để thắng specificity của header */
.pb-pricing-table.pb-pricing-align-center thead th,
.pb-pricing-table.pb-pricing-align-center td { text-align: center; }
.pb-pricing-table.pb-pricing-align-right thead th,
.pb-pricing-table.pb-pricing-align-right td { text-align: right; }

/* ── Trust badges (chứng nhận & giải thưởng) ── */
.pb-trust-desc { color: var(--pb-muted); text-align: center; max-width: 760px; margin: 0 auto 28px; }
.pb-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    height: 100%;
    gap: 10px;
    padding: 22px 16px;
    background: #fff;
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
    color: var(--pb-text);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.pb-trust-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .1);
    border-color: color-mix(in srgb, var(--pb-primary) 35%, var(--pb-border));
}
.pb-trust-media {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 84px;
}
.pb-trust-media img { max-width: 100%; max-height: 84px; object-fit: contain; }
.pb-trust-media-icon {
    color: var(--pb-accent);
    font-size: 3rem;
    line-height: 1;
}
.pb-trust-title { font-weight: 700; color: var(--pb-primary); font-size: .98rem; line-height: 1.35; }
.pb-trust-note { font-size: .82rem; color: var(--pb-muted); }
@media (prefers-reduced-motion: reduce) {
    .pb-trust-item { transition: none; }
    a.pb-trust-item:hover { transform: none; }
}

/* ── Content richtext ── */
.pb-content-richtext { line-height: 1.8; color: var(--pb-text); max-width: 920px; margin: 0 auto; }
.pb-content-richtext img { max-width: 100%; height: auto; border-radius: 10px; }
.pb-content-richtext h2, .pb-content-richtext h3 { color: var(--pb-primary); }

/* ── FAQ ── */
.pb-faq { max-width: none; margin: 0 auto; }
.pb-faq .accordion-button { font-weight: 600; }
.pb-faq .accordion-button:not(.collapsed) { background: #eef2ff; color: var(--pb-primary); }

/* ── Contact form ── */
.pb-contact-card {
    max-width: 720px; margin: 0 auto; background: #fff;
    border-radius: var(--pb-radius); box-shadow: 0 10px 40px rgba(15,23,42,.1);
    padding: 32px;
    overflow: hidden;
}
.pb-contact-banner { height: 190px; margin: -32px -32px 24px; background-size: cover; background-position: center; }
.pb-contact-head { text-align: center; margin-bottom: 22px; }
.pb-contact-title { font-size: 1.5rem; font-weight: 800; color: var(--pb-primary); margin: 0 0 6px; }
.pb-contact-desc { color: var(--pb-muted); }
.pb-contact-form .form-control { padding: 12px 16px; border-radius: 10px; }
.pb-contact-msg:empty { display: none; }
.pb-contact-msg { padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.pb-contact-msg.ok { background: #dcfce7; color: #166534; }
.pb-contact-msg.err { background: #fee2e2; color: #991b1b; }

/* ── Validate lỗi field (tầng client) ── */
.pb-contact-form .form-control.is-invalid,
.pb-car-input.is-invalid,
[data-pb-leadform] .is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, .15) !important;
}
.pb-invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: .8rem;
    font-weight: 500;
    margin-top: 4px;
}

/* ── Sub-nav sticky ── */
.pb-subnav {
    position: sticky; top: 0; z-index: 1019;
    background: #fff; border-bottom: 1px solid var(--pb-border);
    box-shadow: 0 2px 12px rgba(15,23,42,.06);
}
body.has-adminbar .pb-subnav { top: 32px; }
.pb-subnav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pb-subnav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; flex-wrap: nowrap; }
.pb-subnav-link {
    display: block; padding: 16px 16px; color: var(--pb-text);
    text-decoration: none; font-weight: 600; font-size: .92rem;
    border-bottom: 3px solid transparent; white-space: nowrap;
}
.pb-subnav-link:hover { color: var(--pb-primary); }
.pb-subnav-link.active { color: var(--pb-primary); border-bottom-color: var(--pb-accent); }
.pb-subnav-cta { flex-shrink: 0; color: var(--pb-primary); font-weight: 800; text-decoration: none; white-space: nowrap; }

/* ── Sub-nav style variants ── */
/* pill: mục bo tròn, active có nền */
.pb-subnav.pb-subnav-pill .pb-subnav-list { gap: 6px; padding: 8px 0; }
.pb-subnav.pb-subnav-pill .pb-subnav-link { padding: 8px 16px; border-radius: 999px; border-bottom: none; }
.pb-subnav.pb-subnav-pill .pb-subnav-link:hover { background: var(--pb-border); color: var(--pb-primary); }
.pb-subnav.pb-subnav-pill .pb-subnav-link.active { background: var(--pb-primary); color: #fff; border-bottom: none; }

/* underline: gạch chân dày, không viền dưới thanh */
.pb-subnav.pb-subnav-underline { border-bottom: 2px solid var(--pb-border); box-shadow: none; }
.pb-subnav.pb-subnav-underline .pb-subnav-link { border-bottom-width: 3px; }
.pb-subnav.pb-subnav-underline .pb-subnav-link.active { border-bottom-color: var(--pb-primary); }

/* dark: nền tối, chữ sáng */
.pb-subnav.pb-subnav-dark { background: #0f172a; border-bottom-color: rgba(255,255,255,.1); }
.pb-subnav.pb-subnav-dark .pb-subnav-link { color: rgba(255,255,255,.78); }
.pb-subnav.pb-subnav-dark .pb-subnav-link:hover { color: #fff; }
.pb-subnav.pb-subnav-dark .pb-subnav-link.active { color: #fff; border-bottom-color: var(--pb-accent); }
.pb-subnav.pb-subnav-dark .pb-subnav-cta { color: #fff; }

/* gradient: nền gradient primary→accent, chữ trắng */
.pb-subnav.pb-subnav-gradient { background: linear-gradient(135deg, var(--pb-primary), var(--pb-accent)); border-bottom: none; }
.pb-subnav.pb-subnav-gradient .pb-subnav-link { color: rgba(255,255,255,.85); }
.pb-subnav.pb-subnav-gradient .pb-subnav-link:hover { color: #fff; }
.pb-subnav.pb-subnav-gradient .pb-subnav-link.active { color: #fff; border-bottom-color: #fff; }
.pb-subnav.pb-subnav-gradient .pb-subnav-cta { color: #fff; }

/* ── Full-page chrome ── */
.pb-fp-topbar { position: sticky; top: 0; z-index: 1040; background: #fff; border-bottom: 1px solid var(--pb-border); box-shadow: 0 2px 10px rgba(15,23,42,.06); }
.pb-fp-topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.pb-fp-brand img { height: 44px; width: auto; }
.pb-fp-hotline { color: var(--pb-primary); font-weight: 800; text-decoration: none; }
.pb-fp-footer { background: #0f172a; color: #cbd5e1; padding: 22px 0; text-align: center; margin-top: 20px; }
.pb-backtotop {
    position: fixed; right: 20px; bottom: 20px; z-index: 1050;
    width: 46px; height: 46px; border-radius: 50%; border: none;
    background: var(--pb-primary); color: #fff; font-size: 1.2rem;
    opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
    box-shadow: 0 6px 20px rgba(30,58,138,.4);
}
.pb-backtotop.show { opacity: 1; pointer-events: auto; }
.pb-backtotop:hover { transform: translateY(-3px); }

/* ── Partners / logo chủ đầu tư ── */
.pb-partners-desc { color: var(--pb-muted); text-align: center; max-width: 880px; margin: 0 auto 28px; line-height: 1.7; }
.pb-partner-item {
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--pb-border); border-radius: 12px;
    padding: 24px 18px; height: 100%; min-height: 120px;
    transition: box-shadow .2s, transform .2s;
}
.pb-partner-item:hover { box-shadow: 0 8px 24px rgba(15,23,42,.1); transform: translateY(-3px); }
.pb-partner-item img { max-width: 100%; max-height: 70px; object-fit: contain; }
.pb-partners-grid.is-grayscale .pb-partner-item img { filter: grayscale(100%); opacity: .75; transition: filter .25s, opacity .25s; }
.pb-partners-grid.is-grayscale .pb-partner-item:hover img { filter: grayscale(0); opacity: 1; }

/* ── Kiểu nền block (layout_style) ── */
/* simple: mặc định, không cần style riêng */
.pb-block.pb-layout-gradient,
.pb-block.pb-layout-aurora,
.pb-block.pb-layout-neon,
.pb-block.pb-layout-sunset,
.pb-block.pb-layout-wave { position: relative; overflow: hidden; }
/* Lớp nền lưới chồng lên các nền tối (giống dynblock-grid-pattern cũ) */
.pb-block.pb-layout-gradient::before,
.pb-block.pb-layout-aurora::before,
.pb-block.pb-layout-neon::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 50px 50px;
}
/* Quầng sáng mờ (giống orb cũ) */
.pb-block.pb-layout-gradient::after,
.pb-block.pb-layout-aurora::after,
.pb-block.pb-layout-neon::after,
.pb-block.pb-layout-sunset::after {
    content: ""; position: absolute; top: -120px; right: -110px; width: 360px; height: 360px;
    border-radius: 50%; filter: blur(80px); opacity: .35; pointer-events: none; z-index: 0;
    background: rgba(168,85,247,.5);
}
.pb-block.pb-layout-neon::after { background: rgba(34,211,238,.5); }
.pb-block.pb-layout-sunset::after { background: rgba(251,191,36,.5); }
.pb-block.pb-layout-gradient > .container,
.pb-block.pb-layout-aurora > .container,
.pb-block.pb-layout-neon > .container,
.pb-block.pb-layout-sunset > .container,
.pb-block.pb-layout-wave > .container { position: relative; z-index: 1; }
.pb-block.pb-layout-gradient { background: linear-gradient(135deg, #334155 0%, #4338ca 45%, #6366f1 100%); color: #fff; }
.pb-block.pb-layout-aurora { background: linear-gradient(135deg, #1e3a8a 0%, #6d28d9 45%, #0ea5e9 100%); color: #fff; }
.pb-block.pb-layout-sunset { background: linear-gradient(135deg, #fb923c 0%, #f97316 40%, #db2777 100%); color: #fff; }
.pb-block.pb-layout-neon { background: #050816; color: #fff; box-shadow: inset 0 0 120px rgba(34,211,238,.2); }
.pb-block.pb-layout-glass { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; }
.pb-block.pb-layout-wave { background: linear-gradient(135deg, #6366f1 0%, #7c3aed 50%, #8b5cf6 100%); color: #fff; padding-top: 110px; padding-bottom: 110px; }
.pb-wave-top, .pb-wave-bottom { position: absolute; left: 0; width: 100%; height: 80px; z-index: 1; pointer-events: none; line-height: 0; }
.pb-wave-top { top: -1px; }
.pb-wave-bottom { bottom: -1px; }
.pb-wave-top svg, .pb-wave-bottom svg { width: 100%; height: 100%; display: block; }
.pb-block.pb-layout-minimal {
    background-color: #f8fafc;
    background-image: linear-gradient(rgba(15,23,42,.05) 1px, transparent 1px),
                      linear-gradient(to right, rgba(15,23,42,.04) 1px, transparent 1px);
    background-size: 60px 60px;
}
.pb-block.pb-layout-editorial {
    background-color: #f8fafc;
    background-image: linear-gradient(rgba(15,23,42,.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(15,23,42,.03) 1px, transparent 1px);
    background-size: 56px 56px;
}

/* Đảo màu chữ cho các nền tối/màu để vẫn đọc được */
.pb-block.pb-layout-gradient .pb-heading-title,
.pb-block.pb-layout-aurora .pb-heading-title,
.pb-block.pb-layout-sunset .pb-heading-title,
.pb-block.pb-layout-neon .pb-heading-title,
.pb-block.pb-layout-wave .pb-heading-title,
.pb-block.pb-layout-glass .pb-heading-title { color: #fff; }
.pb-block.pb-layout-gradient .pb-heading-sub,
.pb-block.pb-layout-aurora .pb-heading-sub,
.pb-block.pb-layout-sunset .pb-heading-sub,
.pb-block.pb-layout-neon .pb-heading-sub,
.pb-block.pb-layout-wave .pb-heading-sub,
.pb-block.pb-layout-glass .pb-heading-sub,
.pb-block.pb-layout-gradient .pb-overview-intro,
.pb-block.pb-layout-aurora .pb-overview-intro,
.pb-block.pb-layout-neon .pb-overview-intro,
.pb-block.pb-layout-gradient .pb-amenities-desc,
.pb-block.pb-layout-aurora .pb-amenities-desc,
.pb-block.pb-layout-neon .pb-amenities-desc,
.pb-block.pb-layout-wave .pb-amenities-desc,
.pb-block.pb-layout-gradient .pb-location-desc,
.pb-block.pb-layout-aurora .pb-location-desc,
.pb-block.pb-layout-neon .pb-location-desc,
.pb-block.pb-layout-wave .pb-section-head,
.pb-block.pb-layout-glass .pb-section-head { color: rgba(255,255,255,.9); }
.pb-block.pb-layout-wave .pb-section-head,
.pb-block.pb-layout-glass .pb-section-head { border-bottom-color: rgba(255,255,255,.4); }
.pb-block[class*="pb-layout-gradient"] .pb-heading-title::after,
.pb-block[class*="pb-layout-aurora"] .pb-heading-title::after,
.pb-block[class*="pb-layout-sunset"] .pb-heading-title::after,
.pb-block[class*="pb-layout-neon"] .pb-heading-title::after,
.pb-block[class*="pb-layout-wave"] .pb-heading-title::after,
.pb-block[class*="pb-layout-glass"] .pb-heading-title::after { background: rgba(255,255,255,.7); }

/* glass: card mờ kính cho các phần tử con */
.pb-block.pb-layout-glass .pb-overview-table,
.pb-block.pb-layout-glass .pb-amenity { background: rgba(255,255,255,.55); backdrop-filter: blur(6px); }

/* ── Đọc rõ chữ trên MỌI nền màu (bổ sung: mô tả, rich-desc, tiêu đề) ── */
.pb-block:is(.pb-layout-gradient, .pb-layout-aurora, .pb-layout-sunset, .pb-layout-neon, .pb-layout-wave, .pb-layout-glass)
    :is(.pb-heading-title) { color: #fff; }
.pb-block:is(.pb-layout-gradient, .pb-layout-aurora, .pb-layout-sunset, .pb-layout-neon, .pb-layout-wave, .pb-layout-glass)
    :is(.pb-heading-sub, .pb-pricing-desc, .pb-rich-desc, .pb-overview-intro, .pb-amenities-desc, .pb-location-desc, .pb-section-head) {
    color: rgba(255,255,255,.92);
}
/* strong/em trong mô tả vẫn nổi bật (trắng đậm) */
.pb-block:is(.pb-layout-gradient, .pb-layout-aurora, .pb-layout-sunset, .pb-layout-neon, .pb-layout-wave, .pb-layout-glass)
    .pb-rich-desc :is(strong, b, em, a) { color: #fff; }
/* Bảng giá là thẻ trắng nên GIỮ chữ tối để đọc rõ (không đảo trắng) */
.pb-block:is(.pb-layout-gradient, .pb-layout-aurora, .pb-layout-sunset, .pb-layout-neon, .pb-layout-wave, .pb-layout-glass)
    .pb-pricing-table td { color: var(--pb-text); }
.pb-block:is(.pb-layout-gradient, .pb-layout-aurora, .pb-layout-sunset, .pb-layout-neon, .pb-layout-wave, .pb-layout-glass)
    .pb-pricing-table tbody td:first-child { color: var(--pb-primary); }

/* ── Stats / counter ── */
.pb-stat { text-align: center; padding: 20px 12px; }
.pb-stat-icon { display: inline-flex; width: var(--pb-icon-size); height: var(--pb-icon-size); align-items: center; justify-content: center; border-radius: var(--pb-icon-radius); background: var(--pb-icon-bg); color: var(--pb-icon-color); font-size: 1.7rem; margin-bottom: 14px; box-shadow: var(--pb-icon-shadow); }
.pb-stat-num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--pb-primary); line-height: 1; }
.pb-stat-suffix { font-size: .6em; font-weight: 700; margin-left: 2px; }
.pb-stat-label { margin-top: 8px; color: var(--pb-muted); font-weight: 600; }
.pb-block[class*="pb-layout-gradient"] .pb-stat-icon,
.pb-block[class*="pb-layout-aurora"] .pb-stat-icon,
.pb-block[class*="pb-layout-neon"] .pb-stat-icon { background: var(--pb-icon-bg); color: var(--pb-icon-color); }
.pb-block[class*="pb-layout-gradient"] .pb-stat-num,
.pb-block[class*="pb-layout-aurora"] .pb-stat-num,
.pb-block[class*="pb-layout-neon"] .pb-stat-num { color: #fff; }

/* ── Video ── */
.pb-video { position: relative; max-width: 900px; margin: 0 auto; border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; background: #000; cursor: pointer; box-shadow: 0 16px 50px rgba(15,23,42,.25); }
.pb-video-poster { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; }
.pb-video:hover .pb-video-poster { transform: scale(1.04); opacity: .85; }
.pb-video-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); width: 76px; height: 76px; border-radius: 50%; border: none; background: rgba(220,38,38,.92); color: #fff; font-size: 2.2rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 30px rgba(0,0,0,.4); transition: transform .2s, background .2s; }
.pb-video:hover .pb-video-play { transform: translate(-50%,-50%) scale(1.1); background: #dc2626; }
.pb-video.is-playing { cursor: default; }
.pb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── Timeline ── */
.pb-timeline-desc { color: var(--pb-muted); text-align: center; max-width: 760px; margin: 0 auto 32px; }
.pb-timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 8px; }
.pb-timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--pb-border); }
.pb-tl-item { position: relative; padding: 0 0 28px 56px; }
.pb-tl-item:last-child { padding-bottom: 0; }
.pb-tl-marker { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--pb-border); color: var(--pb-muted); display: flex; align-items: center; justify-content: center; font-size: 1rem; z-index: 1; }
.pb-tl-item.is-done .pb-tl-marker { background: var(--pb-primary); border-color: var(--pb-primary); color: #fff; }
.pb-tl-date { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--pb-accent); text-transform: uppercase; letter-spacing: .03em; }
.pb-tl-title { font-size: 1.15rem; font-weight: 700; margin: 4px 0 6px; color: var(--pb-heading, #0f172a); }
.pb-tl-text { color: var(--pb-muted); margin: 0; line-height: 1.6; }

/* ── Floorplans (tabs) ── */
.pb-floorplans-desc { color: var(--pb-muted); text-align: center; max-width: 760px; margin: 0 auto 24px; }
.pb-fp-tabs { flex-wrap: wrap; gap: 8px; }
.pb-fp-tabs .nav-link { color: var(--pb-primary); font-weight: 600; border: 1px solid var(--pb-border); }
.pb-fp-tabs .nav-link.active { background: var(--pb-primary); color: #fff; }
.pb-fp-image { border-radius: 14px; overflow: hidden; box-shadow: 0 10px 36px rgba(15,23,42,.12); }
.pb-fp-image img { width: 100%; height: auto; display: block; }
.pb-fp-note { text-align: center; color: var(--pb-muted); margin-top: 12px; font-weight: 600; }

/* ── Why choose ── */
.pb-why-desc { color: var(--pb-muted); text-align: center; max-width: 760px; margin: 0 auto 28px; }
.pb-why-item { text-align: center; padding: 24px 16px; height: 100%; border-radius: 16px; transition: transform .2s, box-shadow .2s; }
.pb-why-item:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(15,23,42,.1); }
.pb-why-icon { display: inline-flex; width: var(--pb-icon-size); height: var(--pb-icon-size); align-items: center; justify-content: center; border-radius: var(--pb-icon-radius); background: var(--pb-icon-bg); color: var(--pb-icon-color); font-size: 1.7rem; margin-bottom: 14px; box-shadow: var(--pb-icon-shadow); }
.pb-why-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 6px; }
.pb-why-text { color: var(--pb-muted); font-size: .9rem; margin: 0; line-height: 1.6; }

/* ── Biến thể nổi bật cho dải cam kết (why_choose dùng ở trang chủ) ──
   Viền gradient chạy vòng quanh từng thẻ + icon tròn gradient, hover nhấc.
   Dùng 2 lớp giả: ::before là mảng gradient to xoay tròn, ::after là nền
   trắng thụt vào 2.5px -> chỉ chừa ra một vòng viền gradient đang quay. */
@keyframes pb-why-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.pb-block-why_choose .pb-why-item {
    position: relative;
    isolation: isolate;
    border: none;
    border-radius: 18px;
    padding: 30px 18px 26px;
    overflow: hidden;
    box-shadow: 0 8px 24px -14px rgba(15, 23, 42, .18);
    transition: transform .3s ease, box-shadow .3s ease;
}
.pb-block-why_choose .pb-why-item::before {
    content: "";
    position: absolute;
    z-index: -2;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: var(--pb-why-ring, conic-gradient(#2f799c, #7ac3dd, #1c5f80, #2f799c));
    animation: pb-why-spin 5s linear infinite;
}
.pb-block-why_choose .pb-why-item::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 2.5px;
    border-radius: 15px;
    background: #fff;
}
.pb-block-why_choose .pb-why-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px -18px var(--pb-why-glow, rgba(47, 121, 156, .5));
}
.pb-block-why_choose .pb-why-item:hover::before { animation-duration: 2s; }
.pb-block-why_choose .pb-why-icon {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--pb-why-grad, linear-gradient(135deg, #2f799c, #1c5f80));
    color: #fff;
    font-size: 1.85rem;
    margin-bottom: 18px;
    box-shadow: 0 10px 22px -8px var(--pb-why-glow, rgba(47, 121, 156, .55));
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.pb-block-why_choose .pb-why-item:hover .pb-why-icon {
    transform: translateY(-3px) rotate(-8deg) scale(1.06);
}
.pb-block-why_choose .pb-why-title {
    font-size: 1rem;
    letter-spacing: .01em;
    color: var(--site-heading, #161616);
}
.pb-block-why_choose .pb-why-text { font-size: .86rem; }
/* Đồng bộ một tông xanh chủ đạo cho cả 4 thẻ: viền, icon và quầng sáng. */
.pb-block-why_choose .pb-why-item {
    --pb-why-grad: linear-gradient(135deg, #2f799c, #1c5f80);
    --pb-why-glow: rgba(47, 121, 156, .5);
    --pb-why-ring: conic-gradient(#1c5f80, #2f799c, #7ac3dd, #eaf6fb, #7ac3dd, #2f799c, #1c5f80);
}
@media (max-width: 575.98px) {
    .pb-block-why_choose .pb-why-item { padding: 22px 12px 20px; }
    .pb-block-why_choose .pb-why-icon { width: 60px; height: 60px; font-size: 1.55rem; }
}
/* Tôn trọng người dùng tắt hiệu ứng chuyển động */
@media (prefers-reduced-motion: reduce) {
    .pb-block-why_choose .pb-why-item::before { animation: none; }
}

/* ── Testimonials ── */
.pb-tm-desc { color: var(--pb-muted); text-align: center; max-width: 760px; margin: 0 auto 28px; }
.pb-tm-card { background: #fff; border: 1px solid var(--pb-border); border-radius: 16px; padding: 24px; height: 100%; box-shadow: 0 6px 20px rgba(15,23,42,.06); }
.pb-tm-stars { color: #f59e0b; margin-bottom: 12px; font-size: .95rem; }
.pb-tm-quote { color: #334155; font-style: italic; line-height: 1.7; margin: 0 0 18px; }
.pb-tm-author { display: flex; align-items: center; gap: 12px; }
.pb-tm-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.pb-tm-avatar-ph { display: flex; align-items: center; justify-content: center; background: var(--pb-primary); color: #fff; font-size: 1.3rem; }
.pb-tm-name { font-weight: 700; color: var(--pb-heading, #0f172a); }
.pb-tm-role { font-size: .85rem; color: var(--pb-muted); }

/* ── Payment ── */
.pb-pay-desc { color: var(--pb-muted); text-align: center; max-width: 760px; margin: 0 auto 32px; }
.pb-pay-flow { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: flex-start; }
.pb-pay-step { flex: 1 1 200px; max-width: 280px; text-align: center; position: relative; }
.pb-pay-circle { width: 88px; height: 88px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, var(--pb-primary), var(--pb-accent)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; box-shadow: 0 8px 24px rgba(30,58,138,.25); }
.pb-pay-phase { font-weight: 700; color: var(--pb-heading, #0f172a); margin-bottom: 4px; }
.pb-pay-text { color: var(--pb-muted); font-size: .9rem; line-height: 1.6; }

/* ── Popup lead form layouts ── */
.pb-leadform-header {
    background: #fff;
    color: #0f172a;
    padding: 22px 28px 18px;
    border-bottom: 1px solid rgba(226,232,240,.9) !important;
}
.pb-leadform-header .modal-title {
    color: #0f172a;
    font-size: 1.35rem;
    line-height: 1.25;
    letter-spacing: 0;
}
.pb-leadform-header small {
    display: block;
    color: #64748b;
    margin-top: 5px;
    line-height: 1.5;
}
.pb-leadform-grid { display: block; }
.pb-leadform-layout-split .pb-leadform-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; }
.pb-leadform-aside { color: #fff; display: none; align-items: center; background-size: cover !important; background-position: center !important; position: relative; min-height: 360px; }
.pb-leadform-layout-split .pb-leadform-aside { display: flex; }
.pb-leadform-aside::before { content: ""; position: absolute; inset: 0; background: rgba(15,23,42,.34); display: none; }
.pb-leadform-aside.has-image::before { display: block; }
.pb-leadform-aside-inner { padding: 32px 26px; }
.pb-leadform-aside-inner { position: relative; z-index: 1; }
.pb-leadform-aside-inner i { font-size: 2.4rem; display: block; margin-bottom: 14px; }
.pb-leadform-aside-inner h4 { font-weight: 800; margin: 0 0 8px; color: #fff; font-size: 1.35rem; }
.pb-leadform-aside-inner p { opacity: .9; margin: 0; line-height: 1.6; }
.pb-leadform-main { background: #fff; }
.pb-leadform-main .pb-contact-form .form-control {
    min-height: 52px;
    border: 1px solid #dbe3ec;
    border-radius: 14px;
    color: #0f172a;
    font-size: 1rem;
    box-shadow: none;
}
.pb-leadform-main .pb-contact-form textarea.form-control { min-height: 96px; }
.pb-leadform-main .pb-contact-form .form-control::placeholder { color: #64748b; opacity: .9; }
.pb-leadform-main .pb-contact-form .form-control:focus {
    border-color: var(--pb-primary);
    box-shadow: 0 0 0 4px rgba(30,58,138,.12);
}
.pb-leadform-main .pb-btn {
    min-height: 52px;
    border-radius: 999px;
    justify-content: center;
}
.pb-leadform-layout-compact .pb-leadform-main { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
@media (max-width: 575.98px) {
    .pb-leadform-layout-split .pb-leadform-grid { grid-template-columns: 1fr; }
    .pb-leadform-aside { display: none; }
    .pb-leadform-header { padding: 20px 22px 16px; }
}

/* ── CTA Call bar ── */
.pb-hotline-bar { color: #fff; padding: 22px 0; }
.pb-hotline-inner {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
    padding: 8px 4px; background: transparent;
}
.pb-hotline-inner::before {
    content: ""; position: absolute; top: -70%; right: -3%; width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%); pointer-events: none;
}
.pb-hotline-text { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 1.08rem; letter-spacing: .2px; }
.pb-hotline-text i {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px; font-size: 1.35rem;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.20); border: 1px solid rgba(255,255,255,.35);
    animation: pb-cta-pulse 2s ease-in-out infinite;
}
.pb-hotline-actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
/* Nút gọi: nền trắng, chữ đỏ, icon tròn nổi bật */
.pb-hotline-call {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #b91c1c;
    font-weight: 800; padding: 12px 24px 12px 14px; border-radius: 999px; text-decoration: none; font-size: 1.06rem;
    box-shadow: 0 10px 26px -8px rgba(0,0,0,.55); will-change: transform;
    transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, color .2s ease;
}
.pb-hotline-call i {
    width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
    background: linear-gradient(135deg, #ef4444, #b91c1c); color: #fff;
    box-shadow: 0 4px 10px -3px rgba(185,28,28,.7);
    animation: pb-cta-pulse 1.8s ease-in-out infinite;
}
.pb-hotline-call strong { margin-left: 2px; font-size: 1.12rem; letter-spacing: .3px; }
/* Nút Zalo: màu xanh thương hiệu Zalo, tách biệt rõ với nút gọi */
.pb-hotline-zalo {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700;
    padding: 12px 20px; border-radius: 999px; text-decoration: none; font-size: 1.02rem;
    background: linear-gradient(135deg, #0af, #0068ff); border: 1px solid rgba(255,255,255,.28);
    box-shadow: 0 10px 24px -10px rgba(0,104,255,.8); will-change: transform;
    transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, filter .2s ease;
}
.pb-hotline-call:hover { color: #991b1b; }
.pb-hotline-zalo:hover { color: #fff; }
@media (max-width: 767.98px) {
    .pb-block.pb-block-hotline_bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1045; padding: 0; box-shadow: 0 -4px 18px rgba(0,0,0,.25); }
    /* Tắt thanh Gọi/Zalo cố định (cấu hình admin: mobile_hotline_bar_enabled). */
    body.mobile-hotbar-off .pb-block.pb-block-hotline_bar { display: none; }
    .pb-hotline-bar { padding: 8px 0; }
    .pb-hotline-inner { justify-content: center; padding: 10px 14px; border-radius: 0; border: none; }
    .pb-hotline-text { display: none; }
    .pb-hotline-call { flex: 1; justify-content: center; font-size: 1.02rem; }
    .pb-hotline-zalo { flex-shrink: 0; }
    .pb-hotline-call strong { display: none; }
    /* Chỉ chừa chỗ + đẩy nút nổi lên KHI có thanh Gọi/Zalo cố định (body.has-hotbar) và đang bật.
       Nhờ vậy trang không có thanh sẽ không bị dư khoảng trống, và không còn đè lên nhau. */
    body.has-hotbar:not(.mobile-hotbar-off) { padding-bottom: 64px; }
    body.has-hotbar:not(.mobile-hotbar-off) .floating-contact { bottom: 150px; }
    body.has-hotbar:not(.mobile-hotbar-off) .back-to-top { bottom: 84px; }
}

/* ── Coverage (khu vực phục vụ) ── */
.pb-coverage-desc { text-align: center; color: var(--pb-muted, #64748b); max-width: 720px; margin: 0 auto 28px; }
.pb-coverage-item { text-align: center; background: #fff; border: 1px solid var(--pb-border, #e5e7eb); border-radius: 14px; padding: 22px 14px; height: 100%; transition: transform .2s, box-shadow .2s; }
.pb-coverage-item:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(15,23,42,.1); }
.pb-coverage-icon { display: inline-flex; align-items: center; justify-content: center; width: var(--pb-icon-size); height: var(--pb-icon-size); border-radius: var(--pb-icon-radius); background: var(--pb-icon-bg); color: var(--pb-icon-color); font-size: 1.7rem; margin-bottom: 14px; box-shadow: var(--pb-icon-shadow); }
.pb-coverage-area { font-weight: 700; color: var(--pb-heading, #0f172a); margin-bottom: 6px; }
.pb-coverage-time { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: #16a34a; background: rgba(22,163,74,.1); padding: 3px 12px; border-radius: 999px; }

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .pbs-sidebar.is-sticky { position: static; }
    .pb-page-sidebar.is-sticky { position: static; }
    .pb-sidebar-card.is-sticky { position: static; }
    .pb-sidebar-widget.is-sticky { position: static; top: auto; }
}

@media (max-width: 768px) {
    .pb-block { padding: 40px 0; }
    /* Mobile: thu gọn khoảng cách dọc cấu hình (space_top/space_bottom) — desktop giữ 24/48/80/120,
       trên mobile giảm mạnh để tránh khoảng trống quá lớn. (none vẫn = 0 theo rule gốc.) */
    .pb-block.pb-space-top-sm { padding-top: 16px; }
    .pb-block.pb-space-top-md { padding-top: 26px; }
    .pb-block.pb-space-top-lg { padding-top: 40px; }
    .pb-block.pb-space-top-xl { padding-top: 56px; }
    .pb-block.pb-space-bottom-sm { padding-bottom: 16px; }
    .pb-block.pb-space-bottom-md { padding-bottom: 26px; }
    .pb-block.pb-space-bottom-lg { padding-bottom: 40px; }
    .pb-block.pb-space-bottom-xl { padding-bottom: 56px; }
    /* Heading gọn hơn trên mobile (desktop 36px). */
    .pb-heading { margin-bottom: 22px; }
    .pb-page-shell { padding: 40px 0; }
    .pb-section-head { flex-direction: column; align-items: flex-start; }
    .pb-cta-inner { flex-direction: column; text-align: center; }
    .pb-hero-infobox { gap: 16px; padding: 16px; }
    .pb-media-copy { max-width: none; }
    .pb-media-title { font-size: clamp(1.6rem, 9vw, 2.15rem); }
    .pb-media-desc { font-size: 1rem; }
    .pb-media-figure { box-shadow: 0 16px 34px rgba(15,23,42,.12); }
    .pb-media-ratio-portrait { aspect-ratio: 16/11; }
    .pb-contact-card { padding: 22px; }
    .pb-contact-banner { height: 150px; margin: -22px -22px 20px; }
    .pbs-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pbs-title { font-size: 2rem; }
    .pbs-sidebar { padding: 22px; }
    .pb-page-sidebar { padding: 22px; }
    .pb-sidebar-card { padding: 22px; }
    .pbs-info-row { grid-template-columns: 1fr; gap: 4px; }
    .pbs-side-actions a + a { border-left: 0; padding-left: 0; }
}

/* ── Block: banner_slider ──────────────────────────────────────────────── */
.pb-slider {
    position: relative;
    width: 100%;
    height: var(--pb-slider-h, 480px);
    overflow: hidden;
    background: #0f172a;
}
/* Biết tỷ lệ thật của ảnh banner: khung lấy đúng tỷ lệ đó nên co giãn theo
   bề rộng màn hình, không bị object-fit:cover cắt hai bên trên màn hẹp. */
.pb-slider.has-ar {
    height: auto;
    aspect-ratio: var(--pb-slider-ar);
}
.pb-slider.is-rounded { border-radius: 18px; }
.pb-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    cursor: grab;
    touch-action: pan-y;
    transition: transform .45s ease;
    will-change: transform;
}
.pb-slider.is-dragging .pb-slider-track { cursor: grabbing; transition: none; }
.pb-slider.is-dragging .pb-slide,
.pb-slider.is-dragging .pb-slide img { user-select: none; }
.pb-slide img { -webkit-user-drag: none; user-drag: none; }
.pb-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}
.pb-slide > img,
.pb-slide-link > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-slide-link { display: block; width: 100%; height: 100%; }
.pb-slide-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: clamp(20px, 5vw, 56px);
    background: linear-gradient(to top, rgba(15,23,42,.82) 0%, rgba(15,23,42,.4) 40%, transparent 78%);
}
.pb-slide-caption { max-width: 640px; }
.pb-slide-title {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.5rem, 3.4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    text-shadow: 0 2px 16px rgba(0,0,0,.6);
}
.pb-slide-sub {
    margin: 0 0 16px;
    color: rgba(255,255,255,.92);
    font-size: clamp(.95rem, 1.6vw, 1.18rem);
    line-height: 1.55;
    text-shadow: 0 1px 12px rgba(0,0,0,.6);
}
.pb-slide-cta { margin-top: 4px; }
.pb-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.85);
    color: #0f172a;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background .2s ease, transform .2s ease;
    box-shadow: 0 6px 18px rgba(15,23,42,.18);
}
.pb-slider-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.pb-slider-prev { left: 16px; }
.pb-slider-next { right: 16px; }
.pb-slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 3;
}
.pb-slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.55);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.pb-slider-dot.is-active { background: #fff; transform: scale(1.25); }

@media (max-width: 768px) {
    .pb-slider-arrow { width: 36px; height: 36px; font-size: 1rem; }
    .pb-slider-prev { left: 8px; }
    .pb-slider-next { right: 8px; }
}

/* Mobile/tablet: banner giữ đúng tỷ lệ ảnh thay vì cắt theo chiều cao cố định
   (chiều cao cấu hình trong block chỉ áp cho desktop). */
@media (max-width: 991.98px) {
    .pb-slider:not(.has-ar) { height: auto; }
    .pb-slider:not(.has-ar) .pb-slider-track { height: auto; align-items: stretch; }
    .pb-slider:not(.has-ar) .pb-slide { height: auto; }
    .pb-slider:not(.has-ar) .pb-slide > img,
    .pb-slider:not(.has-ar) .pb-slide-link > img { height: auto; }
    .pb-slider:not(.has-ar) .pb-slide-link { height: auto; }
}

/* ── Block: car_booking (form đăng ký đặt vé) ──────────────────────────── */
.pb-car-anchor { display: block; height: 0; scroll-margin-top: 90px; }
.pb-car-legacy-hidden { display: none; }
.pb-car {
    --pb-car-accent: #f97316;
    position: relative;
    border-radius: 20px;
    padding: clamp(22px, 4vw, 40px);
    background: #fff;
    box-shadow: 0 28px 60px -20px color-mix(in srgb, var(--pb-car-accent) 45%, rgba(15,23,42,.5)), 0 8px 20px -10px rgba(15,23,42,.22);
    background-size: cover;
    background-position: center;
}
.pb-car { max-width: none; }
.pb-car.has-bg { color: #fff; }
.pb-car.has-bg .pb-car-routes-label,
.pb-car.has-bg .pb-car-rlabel { color: rgba(255,255,255,.92); }
.pb-car.has-bg .pb-car-route { background: rgba(255,255,255,.95); }

/* Header */
.pb-car-head { text-align: center; margin-bottom: 22px; }
.pb-car-title {
    margin: 0 0 4px;
    color: var(--pb-car-accent);
    font-size: clamp(1.5rem, 3.4vw, 2.1rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.pb-car.has-bg .pb-car-title { color: #fff; }
.pb-car-sub { margin: 0; font-style: italic; font-weight: 600; color: var(--pb-car-accent); opacity: .9; font-size: 1rem; }
.pb-car.has-bg .pb-car-sub { color: rgba(255,255,255,.9); }

/* Nhãn nhóm chọn chuyến */
.pb-car-routes-label { font-weight: 700; color: #1f2937; margin: 6px 0 12px; display: flex; align-items: center; gap: 8px; }
.pb-car-routes-label i { color: var(--pb-car-accent); }

/* Danh sách chuyến dạng radio card — dàn ngang lấp đầy khổ trang */
.pb-car-routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-bottom: 22px; }
.pb-car-route {
    position: relative;
    display: flex; align-items: center; gap: 14px;
    padding: 15px 18px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.pb-car-route:hover { border-color: color-mix(in srgb, var(--pb-car-accent) 55%, #e5e7eb); }
.pb-car-route input { position: absolute; opacity: 0; pointer-events: none; }
.pb-car-route-dot {
    flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid #cbd5e1; background: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    transition: border-color .18s ease;
}
.pb-car-route-dot::after {
    content: ""; width: 11px; height: 11px; border-radius: 50%;
    background: var(--pb-car-accent); transform: scale(0); transition: transform .18s ease;
}
.pb-car-route-text { flex: 1; font-weight: 600; color: #1f2937; font-size: 1.02rem; }
.pb-car-route-ico { font-size: 1.15rem; color: #cbd5e1; transition: color .18s ease; }
/* Trạng thái được chọn */
.pb-car-route:has(input:checked) {
    border-color: var(--pb-car-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--pb-car-accent) 18%, transparent);
    background: color-mix(in srgb, var(--pb-car-accent) 7%, #fff);
}
.pb-car-route:has(input:checked) .pb-car-route-dot { border-color: var(--pb-car-accent); }
.pb-car-route:has(input:checked) .pb-car-route-dot::after { transform: scale(1); }
.pb-car-route:has(input:checked) .pb-car-route-ico { color: var(--pb-car-accent); }
.pb-car-route input:focus-visible ~ .pb-car-route-dot { box-shadow: 0 0 0 3px color-mix(in srgb, var(--pb-car-accent) 30%, transparent); }

/* Các dòng nhập: 2 cột cho cân đối chiều rộng; mỗi ô nhãn trên, input dưới */
.pb-car-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; }
.pb-car-row { display: flex; flex-direction: column; gap: 7px; }
.pb-car-rlabel { font-weight: 600; color: #374151; display: inline-flex; align-items: center; gap: 8px; font-size: .98rem; }
.pb-car-rlabel i { color: var(--pb-car-accent); }
.pb-car-input {
    width: 100%; padding: 14px 16px;
    border: 1.5px solid #e6e9f0; border-radius: 13px;
    font-size: 1rem; font-weight: 500; background: #f7f8fb; color: #0f172a;
    box-shadow: inset 0 1px 2px rgba(15,23,42,.04);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.pb-car-input::placeholder { color: #9aa5b4; font-weight: 400; }
.pb-car-input:hover { border-color: color-mix(in srgb, var(--pb-car-accent) 40%, #e6e9f0); background: #fff; }
.pb-car-input:focus {
    outline: none; background: #fff; border-color: var(--pb-car-accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--pb-car-accent) 16%, transparent), 0 6px 16px -8px color-mix(in srgb, var(--pb-car-accent) 55%, transparent);
}
.pb-car-input:not(:placeholder-shown) { background: #fff; }

/* Nút đăng ký */
.pb-car-submit {
    position: relative; overflow: hidden; isolation: isolate;
    margin-top: 22px; width: 100%;
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--pb-car-accent) 88%, #fff), var(--pb-car-accent));
    color: #fff; border: none; border-radius: 14px;
    font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
    padding: 16px; font-size: 1.12rem; cursor: pointer;
    box-shadow: 0 12px 28px -8px color-mix(in srgb, var(--pb-car-accent) 60%, transparent);
    transition: filter .15s ease, transform .2s ease, box-shadow .2s ease;
}
.pb-car-submit i {
    width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
    background: rgba(255,255,255,.25);
}
.pb-car-submit:hover { filter: brightness(1.03); transform: translateY(-2px); box-shadow: 0 18px 34px -8px color-mix(in srgb, var(--pb-car-accent) 65%, transparent); }
/* Hiệu ứng ánh sáng lướt qua nút (định kỳ, nhanh hơn khi hover) */
.pb-car-submit::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 55%; height: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.15) 35%, rgba(255,255,255,.6) 50%, rgba(255,255,255,.15) 65%, transparent 100%);
    transform: translateX(-160%) skewX(-20deg);
    animation: pb-car-shine 5s ease-in-out 1.2s infinite;
}
.pb-car-submit:hover::after { animation-duration: 2.4s; animation-delay: 0s; }
@keyframes pb-car-shine {
    0%   { transform: translateX(-160%) skewX(-20deg); }
    26%  { transform: translateX(260%) skewX(-20deg); }
    100% { transform: translateX(260%) skewX(-20deg); }
}
@media (prefers-reduced-motion: reduce) {
    .pb-car-submit::after { animation: none; }
}
.pb-car-msg { text-align: center; margin-top: 12px; }

/* Badge tin cậy chân form */
.pb-car-trust {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px;
    margin-top: 18px; padding-top: 16px; border-top: 1px solid #eef2f7;
}
.pb-car-trust-item { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: #64748b; font-weight: 600; }
.pb-car-trust-item i { color: var(--pb-car-accent); }
.pb-car.has-bg .pb-car-trust { border-top-color: rgba(255,255,255,.25); }
.pb-car.has-bg .pb-car-trust-item { color: rgba(255,255,255,.85); }

@media (max-width: 640px) {
    .pb-car-rows { grid-template-columns: 1fr; }
    .pb-car-trust { gap: 8px 16px; }
}
/* Trình duyệt không hỗ trợ :has() — luôn hiện chấm chọn để không mất chức năng */
@supports not (selector(:has(*))) {
    .pb-car-route-dot::after { transform: scale(1); opacity: .0; }
    .pb-car-route input:checked ~ .pb-car-route-dot::after { opacity: 1; }
}

/* ── Accessibility: giảm chuyển động khi người dùng yêu cầu (toàn bộ block) ── */
@media (prefers-reduced-motion: reduce) {
    .pb-block *,
    .pb-block *::before,
    .pb-block *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .pb-cta-icon { animation: none !important; }
    .pb-project-card:hover,
    .pb-news-card:hover,
    .pb-amenity:hover,
    .pb-trust-item:hover,
    .pb-support-col:hover,
    .pb-cta-btn:hover { transform: none !important; }
}

/* ── Team (đội ngũ) ── */
.pb-team-desc { color: var(--pb-muted); text-align: center; max-width: 760px; margin: 0 auto 28px; }
.pb-team-card {
    height: 100%;
    text-align: center;
    background: #fff;
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius);
    padding: 26px 18px 22px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}
.pb-team-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(15, 23, 42, .1); }
.pb-team-avatar { width: 104px; height: 104px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; background: #eef2f7; border: 3px solid color-mix(in srgb, var(--pb-primary) 18%, #fff); }
.pb-team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pb-team-avatar-ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2.6rem; color: #c3c9d4; }
.pb-team-name { font-size: 1.05rem; font-weight: 800; color: var(--pb-primary); margin: 0 0 2px; }
.pb-team-role { font-size: .88rem; color: var(--pb-muted); }
.pb-team-social { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.pb-team-social a {
    width: 36px; height: 36px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: #f1f5f9; color: var(--pb-primary); text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
.pb-team-social a:hover { background: var(--pb-icon-bg); color: #fff; }

/* ── Map embed ── */
.pb-map-desc { color: var(--pb-muted); text-align: center; max-width: 760px; margin: 0 auto 24px; }
.pb-map-frame { position: relative; width: 100%; height: var(--pb-map-h, 420px); border-radius: var(--pb-radius); overflow: hidden; box-shadow: 0 12px 32px rgba(15, 23, 42, .12); }
.pb-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pb-map-address { margin-top: 16px; text-align: center; color: var(--pb-text); font-weight: 600; }
.pb-map-address i { color: var(--pb-accent); }

/* ── Promo + countdown ── */
.pb-promo { color: #fff; }
.pb-promo-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; }
.pb-promo-copy { flex: 1 1 280px; }
.pb-promo-title { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 800; margin: 0 0 6px; color: #fff; }
.pb-promo-desc { margin: 0; opacity: .9; }
.pb-promo-timer { display: flex; gap: 10px; }
.pb-promo-unit { min-width: 64px; text-align: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; padding: 10px 8px; }
.pb-promo-num { display: block; font-size: 1.8rem; font-weight: 800; line-height: 1; color: var(--pb-promo-accent, #f97316); font-variant-numeric: tabular-nums; }
.pb-promo-lbl { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; opacity: .8; margin-top: 4px; }
.pb-promo-btn { flex-shrink: 0; background: var(--pb-promo-accent, #f97316); color: #fff; padding: 14px 30px; font-weight: 800; }
.pb-promo-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .3); }
@media (max-width: 575.98px) {
    .pb-promo-timer { width: 100%; justify-content: space-between; }
    .pb-promo-unit { min-width: 0; flex: 1; }
}

/* ── Pricing cards (thẻ gói dịch vụ) ── */
.pb-pcards-desc { color: var(--pb-muted); text-align: center; max-width: 760px; margin: 0 auto 32px; }
.pb-pcard {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius);
    padding: 28px 24px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pb-pcard:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(15, 23, 42, .12); }
.pb-pcard.is-featured {
    border-color: var(--pb-accent);
    border-width: 2px;
    box-shadow: 0 20px 48px color-mix(in srgb, var(--pb-primary) 16%, transparent);
}
.pb-pcard-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pb-icon-bg);
    color: #fff;
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 5px 16px;
    border-radius: 999px;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--pb-primary) 24%, transparent);
    white-space: nowrap;
}
.pb-pcard-name { font-size: 1.15rem; font-weight: 800; color: var(--pb-primary); margin-bottom: 10px; }
.pb-pcard-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.pb-pcard-amount { font-size: 2rem; font-weight: 800; color: var(--pb-text); line-height: 1; }
.pb-pcard-period { color: var(--pb-muted); font-size: .9rem; font-weight: 600; }
.pb-pcard-desc { color: var(--pb-muted); font-size: .9rem; margin: 0 0 18px; }
.pb-pcard-features { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.pb-pcard-features li { display: flex; align-items: flex-start; gap: 10px; color: var(--pb-text); font-size: .94rem; line-height: 1.45; }
.pb-pcard-features li i { flex-shrink: 0; margin-top: 2px; font-size: 1rem; }
.pb-pcard-features li.is-on i { color: #16a34a; }
.pb-pcard-features li.is-off { color: var(--pb-muted); }
.pb-pcard-features li.is-off i { color: #cbd5e1; }
.pb-pcard-features li.is-off span { text-decoration: line-through; }
.pb-pcard-btn { margin-top: auto; justify-content: center; width: 100%; background: var(--pb-primary); color: #fff; }
.pb-pcard-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px color-mix(in srgb, var(--pb-primary) 30%, transparent); }
.pb-pcard.is-featured .pb-pcard-btn { background: var(--pb-accent); }
@media (prefers-reduced-motion: reduce) {
    .pb-pcard { transition: none; }
    .pb-pcard:hover { transform: none; }
}

/* ── Layout primitives: columns / spacer / tabs / accordion ── */
.pb-block.pb-block-spacer { padding: 0; }
.pb-columns .pb-column > :last-child { margin-bottom: 0; }
.pb-columns .pb-column img { max-width: 100%; height: auto; border-radius: 8px; }

.pb-tabs-nav { border-bottom: 2px solid var(--pb-border); gap: 4px; flex-wrap: wrap; }
.pb-tabs-nav .nav-link { color: var(--pb-muted); font-weight: 700; border: 0; border-bottom: 3px solid transparent; border-radius: 0; padding: 10px 18px; }
.pb-tabs-nav .nav-link:hover { color: var(--pb-primary); }
.pb-tabs-nav .nav-link.active { color: var(--pb-primary); background: transparent; border-bottom-color: var(--pb-accent); }
.pb-tabs-content { padding-top: 22px; line-height: 1.8; color: var(--pb-text); }
.pb-tabs-content > .tab-pane > :last-child { margin-bottom: 0; }

.pb-accordion { max-width: 920px; margin: 0 auto; }
.pb-accordion .accordion-item { border: 1px solid var(--pb-border); border-radius: 12px !important; margin-bottom: 12px; overflow: hidden; }
.pb-accordion .accordion-button { font-weight: 700; color: var(--pb-text); }
.pb-accordion .accordion-button:not(.collapsed) { color: var(--pb-primary); background: color-mix(in srgb, var(--pb-primary) 7%, #fff); box-shadow: none; }
.pb-accordion .accordion-button:focus { box-shadow: none; border-color: var(--pb-border); }
.pb-accordion .accordion-body { line-height: 1.8; color: var(--pb-text); }

/* ── Comparison (bảng so sánh) ── */
.pb-cmp-desc { color: var(--pb-muted); text-align: center; max-width: 760px; margin: 0 auto 24px; }
.pb-cmp-wrap { overflow-x: auto; border: 1px solid var(--pb-border); border-radius: 14px; box-shadow: 0 12px 32px rgba(15, 23, 42, .07); }
.pb-cmp-table { width: 100%; border-collapse: collapse; min-width: 480px; text-align: center; }
.pb-cmp-table thead th { background: linear-gradient(135deg, var(--pb-primary), color-mix(in srgb, var(--pb-primary) 76%, #000)); color: #fff; padding: 15px 18px; font-weight: 700; border-right: 1px solid rgba(255, 255, 255, .15); }
.pb-cmp-table thead th:last-child { border-right: 0; }
.pb-cmp-table td { padding: 13px 18px; border-bottom: 1px solid var(--pb-border); border-right: 1px solid var(--pb-border); }
.pb-cmp-table td:last-child { border-right: 0; }
.pb-cmp-table tbody tr:last-child td { border-bottom: 0; }
.pb-cmp-table tbody tr:nth-child(even) { background: #f8fafc; }
.pb-cmp-firstcol { text-align: left; font-weight: 700; color: var(--pb-primary); }
.pb-cmp-yes i { color: #16a34a; font-size: 1.15rem; }
.pb-cmp-no i { color: #cbd5e1; font-size: 1.05rem; }

/* ── Logo marquee ── */
.pb-marquee { overflow: hidden; position: relative; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pb-marquee-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: pb-marquee-scroll var(--pb-marquee-speed, 30s) linear infinite; }
.pb-marquee:hover .pb-marquee-track { animation-play-state: paused; }
.pb-marquee-item { flex: 0 0 auto; }
.pb-marquee-item img { height: 48px; width: auto; object-fit: contain; display: block; }
.pb-marquee.is-grayscale .pb-marquee-item img { filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.pb-marquee.is-grayscale .pb-marquee-item:hover img { filter: none; opacity: 1; }
@keyframes pb-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pb-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; } }

/* ── Portfolio / case study ── */
.pb-portfolio-desc { color: var(--pb-muted); text-align: center; max-width: 760px; margin: 0 auto 28px; }
.pb-portfolio-card { display: block; height: 100%; background: #fff; border-radius: var(--pb-radius); overflow: hidden; text-decoration: none; color: var(--pb-text); box-shadow: 0 8px 24px rgba(15, 23, 42, .07); transition: transform .2s ease, box-shadow .2s ease; }
a.pb-portfolio-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(15, 23, 42, .14); color: var(--pb-text); }
.pb-portfolio-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #eef2f7; }
.pb-portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
a.pb-portfolio-card:hover .pb-portfolio-thumb img { transform: scale(1.05); }
.pb-portfolio-thumb-ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2.4rem; color: #c3c9d4; }
.pb-portfolio-cat { position: absolute; top: 12px; left: 12px; background: var(--pb-accent); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.pb-portfolio-body { padding: 16px 18px; }
.pb-portfolio-title { font-size: 1.05rem; font-weight: 700; color: var(--pb-primary); margin: 0 0 4px; }
.pb-portfolio-text { font-size: .88rem; color: var(--pb-muted); margin: 0; }

/* ── Menu list (thực đơn / bảng dịch vụ) ── */
.pb-menu-desc { color: var(--pb-muted); text-align: center; max-width: 760px; margin: 0 auto 28px; }
.pb-menu-group-title { font-size: 1.1rem; font-weight: 800; color: var(--pb-primary); padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid var(--pb-accent); display: inline-block; }
.pb-menu-items { list-style: none; padding: 0; margin: 0; }
.pb-menu-item { padding: 10px 0; border-bottom: 1px dashed var(--pb-border); }
.pb-menu-item:last-child { border-bottom: 0; }
.pb-menu-row { display: flex; align-items: baseline; gap: 8px; }
.pb-menu-name { font-weight: 700; color: var(--pb-text); }
.pb-menu-dots { flex: 1; border-bottom: 2px dotted #cbd5e1; transform: translateY(-3px); }
.pb-menu-price { font-weight: 800; color: var(--pb-accent); white-space: nowrap; }
.pb-menu-item-desc { font-size: .86rem; color: var(--pb-muted); margin-top: 2px; }

/* ── Icon-or-image: cho phép dùng ảnh thay cho icon trong các block ── */
/* Wrapper tròn/vuông cố định (var(--pb-icon-size)): ảnh phủ kín khung */
.pb-coverage-icon.has-image,
.pb-stat-icon.has-image,
.pb-why-icon.has-image,
.pb-amenity-icon.has-image,
.pb-cta-icon.has-image { overflow: hidden; background: #e5e7eb; padding: 0; }
.pb-coverage-icon img,
.pb-stat-icon img,
.pb-why-icon img,
.pb-amenity-icon img,
.pb-cta-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
/* support_steps: ô icon 38px */
.pb-support-list li.has-image img { flex-shrink: 0; width: 38px; height: 38px; object-fit: cover; border-radius: 9px; display: block; }
/* media_text features: ô icon 28px */
.pb-media-features li.has-image img { flex: 0 0 28px; width: 28px; height: 28px; margin-top: 1px; object-fit: cover; border-radius: 7px; display: block; }
/* highlights badge: ảnh nhỏ trong viên thuốc */
.pb-highlight-item.has-image img { width: 24px; height: 24px; object-fit: cover; border-radius: 6px; display: block; flex-shrink: 0; }
/* hotline bar: ô icon 44px */
.pb-hotline-text.has-image img { flex-shrink: 0; width: 44px; height: 44px; object-fit: cover; border-radius: 12px; display: block; }

/* ── Mô tả section dạng rich text (HTML do admin nhập) ── */
/* Giữ nguyên style .pb-*-desc (class-based) nhưng triệt tiêu lề thừa của thẻ con
   do trình soạn thảo sinh ra (p/ul/ol) để không phá khoảng cách section. */
.pb-rich-desc > :first-child { margin-top: 0; }
.pb-rich-desc > :last-child { margin-bottom: 0; }
.pb-rich-desc ul, .pb-rich-desc ol { text-align: left; display: inline-block; margin: .4em 0; }
.pb-rich-desc a { text-decoration: underline; }


/* ══════════════════════════════════════════════════════════════════════
   Hiệu ứng hover nút TOÀN SITE — điều khiển bởi setting ui_hover_effect
   (body.uifx-<effect> gắn qua theme_body_class()). Áp cho mọi nút chính.
   ══════════════════════════════════════════════════════════════════════ */
body[class*="uifx-"] :is(.pb-btn, .pb-cta-btn, .pb-media-btn, .pb-promo-btn, .pb-pcard-btn, .pb-hotline-call, .pb-hotline-zalo, .btn) {
    position: relative; will-change: transform;
    transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease, filter .2s ease;
}

/* 1. Nhấc lên */
body.uifx-lift :is(.pb-btn, .pb-cta-btn, .pb-media-btn, .pb-promo-btn, .pb-pcard-btn, .pb-hotline-call, .pb-hotline-zalo, .btn):hover {
    transform: translateY(-3px); box-shadow: 0 14px 30px -10px rgba(0,0,0,.35);
}

/* 2. Phóng to nhẹ */
body.uifx-grow :is(.pb-btn, .pb-cta-btn, .pb-media-btn, .pb-promo-btn, .pb-pcard-btn, .pb-hotline-call, .pb-hotline-zalo, .btn):hover {
    transform: scale(1.05); box-shadow: 0 14px 30px -10px rgba(0,0,0,.35);
}

/* 3. Phát sáng viền */
body.uifx-glow :is(.pb-btn, .pb-cta-btn, .pb-media-btn, .pb-promo-btn, .pb-pcard-btn, .pb-hotline-call, .pb-hotline-zalo, .btn):hover {
    box-shadow: 0 0 0 4px rgba(0,0,0,.10), 0 12px 28px -8px rgba(0,0,0,.4); filter: brightness(1.05);
}

/* 4. Nảy nhẹ */
body.uifx-bounce :is(.pb-btn, .pb-cta-btn, .pb-media-btn, .pb-promo-btn, .pb-pcard-btn, .pb-hotline-call, .pb-hotline-zalo, .btn) {
    transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease, filter .2s ease;
}
body.uifx-bounce :is(.pb-btn, .pb-cta-btn, .pb-media-btn, .pb-promo-btn, .pb-pcard-btn, .pb-hotline-call, .pb-hotline-zalo, .btn):hover {
    transform: translateY(-5px); box-shadow: 0 18px 34px -10px rgba(0,0,0,.4);
}

/* 5. Ánh sáng lướt qua — CHỈ quét sáng, KHÔNG nhấc nút (tránh giật lên). */
body.uifx-shine :is(.pb-btn, .pb-cta-btn, .pb-media-btn, .pb-promo-btn, .pb-pcard-btn, .pb-hotline-call, .pb-hotline-zalo, .btn) {
    overflow: hidden;
}
body.uifx-shine :is(.pb-btn, .pb-cta-btn, .pb-media-btn, .pb-promo-btn, .pb-pcard-btn, .pb-hotline-call, .pb-hotline-zalo, .btn)::after {
    content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
    transform: skewX(-18deg); pointer-events: none;
    /* KHÔNG transition ở trạng thái thường -> nhả chuột reset tức thì, không quét lùi gây giật */
    transition: none;
}
/* Chỉ animate khi hover -> vệt sáng quét 1 chiều rồi biến mất */
body.uifx-shine :is(.pb-btn, .pb-cta-btn, .pb-media-btn, .pb-promo-btn, .pb-pcard-btn, .pb-hotline-call, .pb-hotline-zalo, .btn):hover::after {
    left: 130%;
    transition: left .6s cubic-bezier(.22,.61,.36,1);
}

/* Tôn trọng người dùng tắt chuyển động */
@media (prefers-reduced-motion: reduce) {
    body[class*="uifx-"] :is(.pb-btn, .pb-cta-btn, .pb-media-btn, .pb-promo-btn, .pb-pcard-btn, .pb-hotline-call, .pb-hotline-zalo, .btn):hover {
        transform: none !important;
    }
    body.uifx-shine :is(.pb-btn, .pb-cta-btn, .pb-media-btn, .pb-promo-btn, .pb-pcard-btn, .pb-hotline-call, .pb-hotline-zalo, .btn)::after { display: none; }
}


/* ── Block: routes (thẻ tuyến đường / điểm đến kèm ảnh) ─────────────────── */
.pb-routes-desc { text-align: center; max-width: 720px; margin: -8px auto 30px; color: var(--pb-muted); }
.pb-route-card {
    position: relative; display: flex; flex-direction: column; height: 100%;
    border-radius: 18px; overflow: hidden; text-decoration: none;
    background: #fff; box-shadow: 0 14px 34px -16px rgba(15,23,42,.35);
    will-change: transform; backface-visibility: hidden; transform: translateZ(0);
    transition: transform .32s cubic-bezier(.22,.61,.36,1);
}
.pb-route-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.pb-route-media img { width: 100%; height: 100%; object-fit: cover; display: block; backface-visibility: hidden; will-change: transform; transition: transform .5s cubic-bezier(.22,.61,.36,1), filter .35s ease; }
.pb-route-noimg {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 2.6rem; color: #cbd5e1;
    background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
}
/* Lớp phủ gradient để chữ nổi trên ảnh */
.pb-route-media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, rgba(15,23,42,.82) 0%, rgba(15,23,42,.35) 42%, rgba(15,23,42,0) 70%);
}
.pb-route-price {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    background: var(--pb-accent, #f97316); color: #fff;
    font-weight: 800; font-size: .92rem; padding: 7px 14px; border-radius: 999px;
    box-shadow: 0 8px 20px -6px rgba(0,0,0,.5);
}
.pb-route-overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 18px 16px; color: #fff; }
.pb-route-title { margin: 0; font-size: 1.22rem; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 7px; line-height: 1.25; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.pb-route-title i { color: var(--pb-accent, #f97316); }
.pb-route-note { margin: 6px 0 0; font-size: .92rem; color: rgba(255,255,255,.9); }
.pb-route-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 16px; font-weight: 700; color: var(--pb-primary, #1e3a8a);
    background: #fff; border-top: 1px solid #eef2f7;
    transition: color .2s ease, background .2s ease;
}
.pb-route-cta i { transition: transform .25s ease; }
.pb-route-card:hover .pb-route-cta { color: #fff; background: var(--pb-accent, #f97316); }
.pb-route-card:hover .pb-route-cta i { transform: translateX(5px); }


/* ── Block: dest_showcase (panel giới thiệu + hàng thẻ điểm đến, nền tối) ── */
.pb-dest {
    display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: 34px; align-items: center;
    background: linear-gradient(135deg, #0f172a, #111827);
    border-radius: 20px; padding: clamp(24px, 3.5vw, 44px);
    box-shadow: 0 24px 60px -24px rgba(0,0,0,.6);
}
.pb-dest-intro { color: #fff; }
.pb-dest-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 58px; height: 58px; border-radius: 14px; font-size: 1.7rem; margin-bottom: 16px;
    color: var(--pb-accent, #f97316); background: color-mix(in srgb, var(--pb-accent, #f97316) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--pb-accent, #f97316) 40%, transparent);
}
.pb-dest-title { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; line-height: 1.25; margin: 0 0 12px; }
.pb-dest-desc { color: rgba(255,255,255,.72); font-size: .98rem; }
.pb-dest-desc p { margin: 0 0 8px; }
.pb-dest-btn {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
    background: var(--pb-accent, #f97316); color: #fff; text-decoration: none;
    font-weight: 700; padding: 12px 26px; border-radius: 999px;
    box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--pb-accent, #f97316) 70%, transparent);
    transition: transform .2s ease, filter .2s ease;
}
.pb-dest-btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.05); }

/* Hàng thẻ điểm đến — cuộn ngang khi tràn */
.pb-dest-cards {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr);
    gap: 20px; overflow-x: auto; padding: 6px 2px 12px; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.pb-dest-cards::-webkit-scrollbar { height: 8px; }
.pb-dest-cards::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 999px; }
.pb-dest-card {
    scroll-snap-align: start; display: flex; flex-direction: column; text-decoration: none;
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 16px 34px -18px rgba(0,0,0,.7);
    will-change: transform; backface-visibility: hidden; transform: translateZ(0);
    transition: transform .32s cubic-bezier(.22,.61,.36,1);
}
.pb-dest-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.pb-dest-media img { width: 100%; height: 100%; object-fit: cover; display: block; backface-visibility: hidden; will-change: transform; transition: transform .5s cubic-bezier(.22,.61,.36,1), filter .35s ease; }
.pb-dest-noimg {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; color: #cbd5e1; background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
}
.pb-dest-cap { padding: 14px 16px; font-weight: 700; color: #1f2937; font-size: 1rem; line-height: 1.3; }

@media (max-width: 860px) {
    .pb-dest { grid-template-columns: 1fr; gap: 24px; }
    .pb-dest-cards { grid-auto-columns: minmax(76%, 78%); }
}


/* Thẻ ảnh (route/dest) KHÔNG nhấc/zoom theo setting nút — chỉ chạy hiệu ứng ẢNH
   bên dưới, để tránh thẻ vừa nhấc vừa đổi ảnh gây rối/không mượt. */

/* ══ Hiệu ứng hover ẢNH trong thẻ (setting ui_image_hover → body.imgfx-*) ══ */
/* 1. Zoom (mặc định) */
body.imgfx-zoom :is(.pb-route-card, .pb-dest-card, .pb-acard):hover :is(.pb-route-media, .pb-dest-media, .pb-acard-media) img { transform: scale(1.08); }
/* 2. Zoom ngược: ảnh phóng sẵn, hover thu về */
body.imgfx-zoomout :is(.pb-route-media, .pb-dest-media, .pb-acard-media) img { transform: scale(1.1); }
body.imgfx-zoomout :is(.pb-route-card, .pb-dest-card, .pb-acard):hover :is(.pb-route-media, .pb-dest-media, .pb-acard-media) img { transform: scale(1); }
/* 3. Sáng lên */
body.imgfx-bright :is(.pb-route-card, .pb-dest-card, .pb-acard):hover :is(.pb-route-media, .pb-dest-media, .pb-acard-media) img { filter: brightness(1.12) saturate(1.08); }
/* 4. Xám → màu */
body.imgfx-gray :is(.pb-route-media, .pb-dest-media, .pb-acard-media) img { filter: grayscale(.85); }
body.imgfx-gray :is(.pb-route-card, .pb-dest-card, .pb-acard):hover :is(.pb-route-media, .pb-dest-media, .pb-acard-media) img { filter: grayscale(0); }
/* 5. Zoom + sáng */
body.imgfx-zoombright :is(.pb-route-card, .pb-dest-card, .pb-acard):hover :is(.pb-route-media, .pb-dest-media, .pb-acard-media) img { transform: scale(1.08); filter: brightness(1.1); }
/* imgfx-none: ảnh đứng yên */

@media (prefers-reduced-motion: reduce) {
    body[class*="uifx-"] :is(.pb-route-card, .pb-dest-card):hover { transform: none !important; }
    :is(.pb-route-media, .pb-dest-media, .pb-acard-media) img { transform: none !important; }
}


/* ── Block: amenity_cards (tiện ích dạng thẻ ảnh) ──────────────────────── */
.pb-acards-desc { text-align: center; max-width: 720px; margin: -8px auto 30px; color: var(--pb-muted); }
.pb-acard {
    display: flex; flex-direction: column; height: 100%;
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 12px 30px -16px rgba(15,23,42,.32);
    will-change: transform; backface-visibility: hidden; transform: translateZ(0);
    transition: transform .32s cubic-bezier(.22,.61,.36,1);
}
.pb-acard:hover { transform: translateY(-5px); }
.pb-acard-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #e2e8f0, #f1f5f9); }
.pb-acard-media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    backface-visibility: hidden; will-change: transform;
    transition: transform .5s cubic-bezier(.22,.61,.36,1), filter .35s ease;
}
.pb-acard-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; color: #cbd5e1; }
.pb-acard-body { position: relative; padding: 34px 18px 20px; }
.pb-acard-badge {
    position: absolute; left: 18px; top: -23px; z-index: 2;
    width: 46px; height: 46px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem;
    color: #fff; background: var(--pb-accent, #f97316);
    box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--pb-accent, #f97316) 70%, transparent);
}
.pb-acard-title { margin: 0 0 5px; font-size: 1.1rem; font-weight: 800; color: #1f2937; line-height: 1.3; }
.pb-acard-text { margin: 0; font-size: .94rem; color: var(--pb-muted); line-height: 1.5; }


/* ── Block: schedule (phụ thu + lịch trình) ────────────────────────────── */
.pb-sched-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pb-sched-card {
    background: #fff; border: 1px solid var(--pb-border); border-radius: 18px;
    padding: 26px 26px 24px; box-shadow: 0 14px 34px -20px rgba(15,23,42,.3);
}
.pb-sched-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pb-sched-ico {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem;
    color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--pb-accent, #f97316) 88%, #fff), var(--pb-accent, #f97316));
}
.pb-sched-title { margin: 0; font-size: 1.2rem; font-weight: 800; color: #1f2937; }
.pb-sched-intro { color: var(--pb-muted); font-size: .96rem; margin: 0 0 14px; }
/* Danh sách phụ thu: nhãn trái + badge giá phải */
.pb-sched-fees { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pb-sched-fees li {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 14px; border-radius: 12px; background: #f8fafc; border: 1px solid var(--pb-border);
}
.pb-sched-fee-label { font-weight: 600; color: #334155; display: inline-flex; align-items: center; gap: 8px; }
.pb-sched-fee-label i { color: var(--pb-accent, #f97316); }
.pb-sched-fee-price {
    flex-shrink: 0; font-weight: 800; color: #fff; font-size: .92rem;
    padding: 6px 14px; border-radius: 999px; background: var(--pb-accent, #f97316); white-space: nowrap;
}
/* Lịch trình: nhóm tuyến + chip giờ */
.pb-sched-group { margin-bottom: 16px; }
.pb-sched-route { font-weight: 700; color: #1f2937; font-size: .98rem; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 8px; }
.pb-sched-route i { color: var(--pb-accent, #f97316); margin-top: 3px; flex-shrink: 0; }
.pb-sched-times { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-sched-chip {
    font-weight: 700; font-size: .9rem; color: color-mix(in srgb, var(--pb-accent, #f97316) 88%, #000);
    padding: 7px 13px; border-radius: 10px; background: color-mix(in srgb, var(--pb-accent, #f97316) 12%, #fff);
    border: 1px solid color-mix(in srgb, var(--pb-accent, #f97316) 30%, transparent);
    font-variant-numeric: tabular-nums;
}
.pb-sched-note {
    margin: 12px 0 0; font-size: .9rem; color: var(--pb-muted); font-style: italic;
    display: flex; align-items: flex-start; gap: 8px; padding-top: 12px; border-top: 1px dashed var(--pb-border);
}
.pb-sched-note i { color: var(--pb-accent, #f97316); margin-top: 2px; flex-shrink: 0; font-style: normal; }
@media (max-width: 820px) {
    .pb-sched-grid { grid-template-columns: 1fr; }
}


/* ── Block nhúng trong nội dung bài viết (shortcode [block ...]) ── */
.pb-post-embed { padding: 20px 0; }
.pb-post-embed > .container { padding-left: 0; padding-right: 0; max-width: 100%; }
.article-content .pb-post-embed { margin: 1.4rem 0; }

/* cache-bust: gallery ratio/fit v2 */

/* ══════════════════════════════════════════════════════════════════════
   Hiệu ứng xuất hiện khi cuộn (scroll reveal) — cấu hình theo từng block.
   Điều khiển qua data-anim / data-anim-speed trên .pb-block. JS thêm class
   'pb-anim-on' vào <html> (chỉ khi hỗ trợ IntersectionObserver và người dùng
   KHÔNG bật giảm chuyển động) rồi thêm 'pb-anim-in' cho block khi cuộn tới.
   Không JS / giảm chuyển động => nội dung hiển thị bình thường (không ẩn).
   ══════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
    /* Chặn tràn ngang khi block trượt theo trục X (clip KHÔNG phá vỡ sticky). */
    .pb-anim-on body { overflow-x: clip; }

    .pb-anim-on [data-anim] {
        opacity: 0;
        transition: opacity var(--pb-anim-dur, .7s) ease,
                    transform var(--pb-anim-dur, .7s) cubic-bezier(.22, .61, .36, 1);
        transition-delay: var(--pb-anim-delay, 0ms);
    }

    /* Trạng thái ban đầu theo từng kiểu hiệu ứng */
    .pb-anim-on [data-anim="fade-up"]    { transform: translateY(40px); }
    .pb-anim-on [data-anim="fade-down"]  { transform: translateY(-40px); }
    .pb-anim-on [data-anim="fade-left"]  { transform: translateX(-40px); }
    .pb-anim-on [data-anim="fade-right"] { transform: translateX(40px); }
    .pb-anim-on [data-anim="zoom-in"]    { transform: scale(.9); }
    .pb-anim-on [data-anim="zoom-out"]   { transform: scale(1.08); }
    .pb-anim-on [data-anim="slide-up"]   { transform: translateY(60px); }

    /* Tốc độ (mặc định .7s) */
    .pb-anim-on [data-anim][data-anim-speed="fast"] { --pb-anim-dur: .45s; }
    .pb-anim-on [data-anim][data-anim-speed="slow"] { --pb-anim-dur: 1.1s; }

    /* Đã lộ diện (JS thêm class) => trả về vị trí thật */
    .pb-anim-on [data-anim].pb-anim-in {
        opacity: 1;
        transform: none;
    }
}

/* ══════════════════════════════════════════════════════════════════════
   Block: featured_products — khối "Sản phẩm nổi bật" bắt mắt
   ══════════════════════════════════════════════════════════════════════ */
.pb-featured {
    --pbf-accent: #e11d48;
    /* Độ đậm tông màu — mặc định "Nhạt" (dịu). Ghi đè theo class pb-featured-tone-* */
    --pbf-glow: 8%;    /* vệt sáng góc */
    --pbf-tint: 3%;    /* nền phớt màu */
    --pbf-border: 12%; /* viền */
    --pbf-shadow: 9%;  /* đổ bóng */
    position: relative;
    padding: clamp(24px, 4vw, 40px) clamp(18px, 3vw, 36px) clamp(28px, 4vw, 44px);
    border-radius: 24px;
    background:
        radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--pbf-accent) var(--pbf-glow), transparent), transparent 60%),
        linear-gradient(135deg, #fff 0%, color-mix(in srgb, var(--pbf-accent) var(--pbf-tint), #fff) 100%);
    border: 1px solid color-mix(in srgb, var(--pbf-accent) var(--pbf-border), transparent);
    box-shadow: 0 24px 60px color-mix(in srgb, var(--pbf-accent) var(--pbf-shadow), transparent);
    overflow: hidden;
}
/* Vừa: đậm hơn nhạt một chút */
.pb-featured.pb-featured-tone-medium {
    --pbf-glow: 14%;
    --pbf-tint: 6%;
    --pbf-border: 22%;
    --pbf-shadow: 16%;
}
/* Đậm: tông màu rõ, nổi bật mạnh */
.pb-featured.pb-featured-tone-bold {
    --pbf-glow: 22%;
    --pbf-tint: 10%;
    --pbf-border: 34%;
    --pbf-shadow: 24%;
}
/* Dải sáng chạy dọc mép trên cho nổi bật — mảnh & mờ ở tông nhạt */
.pb-featured::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    opacity: .55;
    background: linear-gradient(90deg, var(--pbf-accent), #fbbf24, var(--pbf-accent));
    background-size: 200% 100%;
    animation: pb-featured-sheen 6s linear infinite;
}
.pb-featured.pb-featured-tone-medium::before { height: 4px; opacity: .8; }
.pb-featured.pb-featured-tone-bold::before { height: 5px; opacity: 1; }
@keyframes pb-featured-sheen {
    to { background-position: 200% 0; }
}
@media (prefers-reduced-motion: reduce) {
    .pb-featured::before { animation: none; }
}

.pb-featured-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}
.pb-featured-head-main { min-width: 0; }
.pb-featured-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--pb-text);
}
.pb-featured-flame {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 1.35rem;
    color: #fff;
    background: linear-gradient(135deg, var(--pbf-accent), #fb923c);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--pbf-accent) 34%, transparent);
    flex-shrink: 0;
}
/* Vòng sáng lan toả quanh ô lửa tiêu đề */
.pb-featured-flame::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--pbf-accent) 55%, transparent);
    animation: pb-flame-halo 2.4s ease-out infinite;
}
.pb-featured-flame i {
    display: inline-block;
    transform-origin: 50% 85%;
    animation: pb-flame-flicker 1.1s ease-in-out infinite;
}
/* Ngọn lửa lay động: nghiêng, co giãn nhẹ và đổi độ sáng như lửa thật */
@keyframes pb-flame-flicker {
    0%, 100% { transform: rotate(-3deg) scale(1);     filter: brightness(1); }
    25%      { transform: rotate(2deg)  scale(1.08);  filter: brightness(1.15); }
    50%      { transform: rotate(-2deg) scale(.96);   filter: brightness(.95); }
    75%      { transform: rotate(3deg)  scale(1.05);  filter: brightness(1.1); }
}
@keyframes pb-flame-halo {
    0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--pbf-accent) 55%, transparent); }
    70%  { box-shadow: 0 0 0 12px color-mix(in srgb, var(--pbf-accent) 0%, transparent); }
    100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--pbf-accent) 0%, transparent); }
}

/* ── Nhãn HOT trên từng thẻ sản phẩm nổi bật ── */
.pb-featured-grid .product-card .pb-hot-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px 5px 8px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1;
    color: #fff;
    background: linear-gradient(135deg, var(--pbf-accent), #fb923c);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--pbf-accent) 45%, transparent);
}
.pb-hot-flame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
}
.pb-hot-flame i {
    display: inline-block;
    transform-origin: 50% 85%;
    animation: pb-flame-flicker 1s ease-in-out infinite;
}
/* Badge giảm giá sẵn có (góc trên-trái) đẩy xuống dưới nhãn HOT để không đè nhau */
.pb-featured-grid .product-card .pb-hot-badge ~ .badge.bg-danger.top-0.start-0 {
    top: 40px !important;
}
@media (prefers-reduced-motion: reduce) {
    .pb-featured-flame::after,
    .pb-featured-flame i,
    .pb-hot-flame i { animation: none; }
}
.pb-featured-sub {
    margin: 10px 0 0;
    color: var(--pb-muted);
    font-size: 1rem;
}
.pb-featured-more {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--pbf-accent), #fb923c);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--pbf-accent) 30%, transparent);
    transition: transform .2s ease, box-shadow .2s ease;
}
.pb-featured-more:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px color-mix(in srgb, var(--pbf-accent) 40%, transparent);
}
.pb-featured-more i { transition: transform .2s ease; }
.pb-featured-more:hover i { transform: translateX(3px); }

/* Thẻ sản phẩm trong khối nổi bật: viền theo màu nhấn + nhấc lên khi hover */
.pb-featured-grid .product-card {
    border: 1px solid color-mix(in srgb, var(--pbf-accent) 14%, transparent) !important;
    transition: transform .22s ease, box-shadow .22s ease;
}
.pb-featured-grid .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px color-mix(in srgb, var(--pbf-accent) 22%, transparent) !important;
}

@media (max-width: 575.98px) {
    .pb-featured-head { flex-direction: column; align-items: flex-start; }
    .pb-featured-more { align-self: stretch; justify-content: center; }
}
