:root {
    --pk-primary: #0b3d91;
    --pk-primary-dark: #072a66;
    --pk-navy: #0a1f44;
    --pk-accent: #f7931e;
    --pk-accent-dark: #d97b0a;
    --pk-text: #1f2a44;
    --pk-muted: #64708a;
    --pk-bg-soft: #f4f7fc;
    --pk-border: #e3e8f2;
}

body {
    font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--pk-text);
    background: #fff;
}

a { color: var(--pk-primary); text-decoration: none; }
a:hover { color: var(--pk-accent-dark); }

/* ---------- Top bar & nav ---------- */
.topbar {
    background: var(--pk-navy);
    color: rgba(255,255,255,.75);
    font-size: .85rem;
    padding: .45rem 0;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--pk-accent); }
.topbar i { color: var(--pk-accent); margin-right: .25rem; }

.main-nav {
    background: #fff;
    box-shadow: 0 2px 18px rgba(10,31,68,.08);
    padding: .65rem 0;
}
.main-nav .nav-link {
    font-weight: 600;
    color: var(--pk-text);
    padding: .5rem .9rem !important;
    position: relative;
    white-space: nowrap;
}
.main-nav .btn-accent { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199.98px) {
    .main-nav .nav-link { padding: .5rem .55rem !important; font-size: .93rem; }
    .main-nav .nav-link.active::after { left: .55rem; right: .55rem; }
    .main-nav .btn-accent { display: none; }
}
.main-nav .nav-link.active,
.main-nav .nav-link:hover { color: var(--pk-primary); }
.main-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: .9rem; right: .9rem; bottom: .1rem;
    height: 3px; border-radius: 3px;
    background: var(--pk-accent);
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--pk-primary), var(--pk-accent));
    color: #fff;
    font-weight: 800;
    letter-spacing: .5px;
}
.brand-logo { height: 52px; width: auto; max-width: 240px; object-fit: contain; }
/* Logo trên nền tối (chân trang): đặt trên nền trắng để logo màu tối vẫn rõ. */
.brand-logo-light { background: #fff; border-radius: 10px; padding: 6px 10px; height: 56px; }
@media (max-width: 575.98px) { .main-nav .brand-logo { height: 42px; max-width: 180px; } }
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--pk-navy);
}
.brand-text small {
    font-size: .62rem;
    letter-spacing: 3px;
    color: var(--pk-accent);
    font-weight: 700;
}

.btn-accent {
    background: var(--pk-accent);
    border-color: var(--pk-accent);
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    padding: .55rem 1.4rem;
}
.btn-accent:hover { background: var(--pk-accent-dark); border-color: var(--pk-accent-dark); color: #fff; }
.btn-outline-light-round {
    border: 2px solid rgba(255,255,255,.8);
    color: #fff;
    border-radius: 30px;
    padding: .5rem 1.4rem;
    font-weight: 600;
}
.btn-outline-light-round:hover { background: #fff; color: var(--pk-primary); }

/* ---------- Hero ---------- */
.hero .carousel-item {
    min-height: 560px;
    background-size: cover;
    background-position: center;
}
.hero-slide {
    min-height: 560px;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero-slide::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 80% 30%, rgba(247,147,30,.35), transparent 40%),
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: auto, 40px 40px, 40px 40px;
}
.hero-slide.s1 { background: linear-gradient(120deg, var(--pk-navy) 0%, var(--pk-primary) 60%, #1565c0 100%); }
.hero-slide.s2 { background: linear-gradient(120deg, #06213f 0%, #0d47a1 55%, #00838f 100%); }
.hero-slide.s3 { background: linear-gradient(120deg, #1a1446 0%, #283593 55%, #0b3d91 100%); }
.hero-slide.has-img { background-size: cover; background-position: center; }
.hero-slide.has-img::before { 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: 40px 40px; }
.hero-slide .container { position: relative; z-index: 1; }
.about-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.partner-logo { max-width: 100%; max-height: 48px; object-fit: contain; }
.hero-kicker {
    display: inline-block;
    background: rgba(247,147,30,.18);
    color: #ffd29a;
    border: 1px solid rgba(247,147,30,.5);
    border-radius: 30px;
    padding: .3rem 1rem;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); font-weight: 800; line-height: 1.2; }
.hero p.lead { color: rgba(255,255,255,.82); max-width: 620px; }
.hero-art {
    font-size: 11rem;
    color: rgba(255,255,255,.14);
    text-align: center;
    line-height: 1;
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-soft { background: var(--pk-bg-soft); }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-title .kicker {
    color: var(--pk-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .85rem;
}
.section-title h2 { font-weight: 800; color: var(--pk-navy); margin: .4rem 0 .8rem; }
.section-title p { color: var(--pk-muted); }

.page-banner {
    background: linear-gradient(120deg, var(--pk-navy), var(--pk-primary));
    color: #fff;
    padding: 64px 0 56px;
    position: relative;
}
.page-banner h1 { font-weight: 800; }
.page-banner .breadcrumb a { color: rgba(255,255,255,.75); }
.page-banner .breadcrumb-item.active,
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.6); }

.stat-box { text-align: center; padding: 28px 12px; }
.stat-box .num { font-size: 2.6rem; font-weight: 800; color: var(--pk-primary); }
.stat-box .lbl { color: var(--pk-muted); font-weight: 500; }
.stats-strip {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(10,31,68,.1);
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: #fff;
    border: 1px solid var(--pk-border);
    border-radius: 16px;
    padding: 30px 26px;
    height: 100%;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(11,61,145,.12);
    border-color: transparent;
}
.service-card .icon {
    width: 62px; height: 62px;
    border-radius: 16px;
    display: grid; place-items: center;
    font-size: 1.7rem;
    color: #fff;
    background: linear-gradient(135deg, var(--pk-primary), #1e88e5);
    margin-bottom: 18px;
}
.service-card:nth-child(even) .icon,
.col:nth-child(even) .service-card .icon { background: linear-gradient(135deg, var(--pk-accent), #ffb74d); }
.service-card h5 { font-weight: 700; color: var(--pk-navy); }
.service-card p { color: var(--pk-muted); margin-bottom: 0; }

.about-visual {
    border-radius: 22px;
    background: linear-gradient(135deg, var(--pk-primary), var(--pk-navy));
    color: #fff;
    min-height: 380px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}
.about-visual i { font-size: 9rem; opacity: .25; }
.about-visual .badge-exp {
    position: absolute; right: 24px; bottom: 24px;
    background: var(--pk-accent);
    border-radius: 16px;
    padding: 16px 22px;
    text-align: center;
}
.about-visual .badge-exp b { font-size: 2.2rem; display: block; line-height: 1; }
.check-list li { margin-bottom: .6rem; padding-left: 1.8rem; position: relative; }
.check-list li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    position: absolute; left: 0; top: 0;
    color: var(--pk-accent);
}

.process-step { text-align: center; padding: 0 10px; }
.process-step .n {
    width: 64px; height: 64px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: grid; place-items: center;
    font-weight: 800; font-size: 1.3rem;
    background: #fff;
    color: var(--pk-primary);
    border: 3px solid var(--pk-accent);
}
.process-step h6 { font-weight: 700; color: var(--pk-navy); }
.process-step p { color: var(--pk-muted); font-size: .92rem; }

.post-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--pk-border);
    height: 100%;
    display: flex; flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}
.post-card:hover { box-shadow: 0 16px 36px rgba(10,31,68,.12); transform: translateY(-4px); }
.post-card .thumb {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #dbe6f7, #f1f5fb);
    display: grid; place-items: center;
    overflow: hidden;
}
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .thumb i { font-size: 3rem; color: #9fb3d6; }
.post-card .body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.post-card .meta { font-size: .82rem; color: var(--pk-muted); margin-bottom: .4rem; }
.post-card h5 { font-weight: 700; font-size: 1.08rem; line-height: 1.45; }
.post-card h5 a { color: var(--pk-navy); }
.post-card h5 a:hover { color: var(--pk-primary); }
.post-card p { color: var(--pk-muted); font-size: .93rem; }

.partner {
    border: 1px solid var(--pk-border);
    border-radius: 14px;
    padding: 22px 10px;
    text-align: center;
    font-weight: 800;
    color: #8a96ad;
    letter-spacing: 1px;
    background: #fff;
    transition: color .2s, border-color .2s;
}
.partner:hover { color: var(--pk-primary); border-color: var(--pk-primary); }

.cta {
    background: linear-gradient(120deg, var(--pk-accent), #ff6f00);
    color: #fff;
    border-radius: 22px;
    padding: 48px;
}
.cta h3 { font-weight: 800; }

.article-content { font-size: 1.05rem; line-height: 1.8; }
.article-content img { max-width: 100%; height: auto; border-radius: 10px; }
.article-content iframe { max-width: 100%; }
.article-cover { width: 100%; border-radius: 16px; margin-bottom: 24px; max-height: 460px; object-fit: cover; }

.contact-box {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--pk-border);
    padding: 28px;
    height: 100%;
}
.contact-box .ic {
    width: 48px; height: 48px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--pk-bg-soft); color: var(--pk-primary); font-size: 1.3rem;
    flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--pk-navy);
    color: rgba(255,255,255,.75);
    padding: 64px 0 0;
}
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--pk-accent); }
.site-footer li { margin-bottom: .5rem; }
.site-footer .contact-list i { color: var(--pk-accent); margin-right: .4rem; }
.site-footer .social a {
    width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255,255,255,.08);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 40px;
    padding: 18px 0;
    font-size: .88rem;
    text-align: center;
}

.float-call {
    position: fixed; right: 20px; bottom: 20px;
    width: 54px; height: 54px; border-radius: 50%;
    background: var(--pk-accent); color: #fff;
    display: grid; place-items: center;
    font-size: 1.4rem;
    box-shadow: 0 8px 22px rgba(247,147,30,.5);
    z-index: 1000;
    animation: pk-pulse 2s infinite;
}
.float-call:hover { color: #fff; }
@keyframes pk-pulse {
    0% { box-shadow: 0 0 0 0 rgba(247,147,30,.55); }
    70% { box-shadow: 0 0 0 16px rgba(247,147,30,0); }
    100% { box-shadow: 0 0 0 0 rgba(247,147,30,0); }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.show { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
    .main-nav .nav-link.active::after { display: none; }
    .hero .carousel-item, .hero-slide { min-height: 480px; }
    .hero-slide { padding: 48px 0 96px; }
    .section { padding: 56px 0; }
    .cta { padding: 32px 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .float-call { animation: none; }
}
