:root {
    --navy: #13315c;
    --navy-2: #1b426c;
    --accent: #1fa67a;
    --gold: #f2b33d;
    --ink: #1d2939;
    --muted: #667085;
    --line: #e6ebf2;
    --soft: #f5f8fc;
    --radius: 18px;
}
body { font-family: "Plus Jakarta Sans", system-ui, sans-serif; color: var(--ink); background: #fff; }
h1, h2, .display-font { font-family: "Fraunces", Georgia, serif; letter-spacing: -.3px; }
a { color: var(--navy-2); }

/* ---------- Top + nav ---------- */
.topstrip { background: var(--navy); color: #c9d6ea; font-size: 13px; padding: 7px 0; }
.topstrip a { color: #c9d6ea; text-decoration: none; }
.topstrip a:hover { color: #fff; }
.site-nav { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line), 0 6px 20px -12px rgba(16,24,40,.15); padding: 8px 0; }
.site-nav .nav-link { font-weight: 600; color: #24324a; font-size: 14.5px; padding: 10px 12px !important; }
.site-nav .nav-link:hover, .site-nav .nav-link.show { color: var(--accent); }
.brand-text b { display: block; color: var(--navy); font-size: 16px; line-height: 1.1; }
.brand-text small { display: block; color: var(--muted); font-size: 11.5px; }
.navbar-toggler { border: 0; box-shadow: none !important; }

/* ---------- Hero ---------- */
.hero-net {
    position: relative; color: #fff; padding: 90px 0 120px; overflow: hidden;
    background: radial-gradient(900px 500px at 85% 20%, rgba(31,166,122,.35), transparent 60%),
                radial-gradient(700px 400px at 10% 90%, rgba(242,179,61,.22), transparent 60%),
                linear-gradient(135deg, #0d2342 0%, #13315c 55%, #174a6e 100%);
}
.hero-net::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000, transparent); }
.hero-net .container { position: relative; z-index: 1; }
.hero-net h1 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); font-weight: 700; line-height: 1.08; }
.hero-net .lead { color: #cfe0f2; max-width: 640px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 12.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); }
.hero-stats { margin-top: -70px; position: relative; z-index: 2; }
.hstat { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: 0 20px 50px -25px rgba(16,24,40,.35); border: 1px solid var(--line); height: 100%; }
.hstat .n { font-size: 34px; font-weight: 800; color: var(--navy); line-height: 1; }
.hstat .l { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.hstat i { font-size: 22px; color: var(--accent); }

/* ---------- Sections ---------- */
.sec { padding: 70px 0; }
.sec-soft { background: var(--soft); }
.sec-head { display: flex; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; color: var(--navy); }
.sec-head p { color: var(--muted); margin: 6px 0 0; }
.sec-head .more { margin-left: auto; font-weight: 700; text-decoration: none; color: var(--accent); white-space: nowrap; }

/* unit cards */
.ucard { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: inherit; transition: .25s; position: relative; }
.ucard:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--uc) 60%, transparent); border-color: color-mix(in srgb, var(--uc) 40%, #fff); }
.ucard-top { height: 8px; background: linear-gradient(90deg, var(--uc), color-mix(in srgb, var(--uc) 50%, #fff)); }
.ucard-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.ucard .ico { width: 54px; height: 54px; border-radius: 14px; background: color-mix(in srgb, var(--uc) 12%, #fff); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; overflow: hidden; }
.ucard .ico img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.ucard .ico span { font-weight: 800; color: var(--uc); font-size: 15px; }
.ucard h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.ucard .sub { font-size: 13px; color: var(--muted); }
.ucard .tag { font-size: 13.5px; color: #475467; margin: 10px 0 14px; }
.ucard .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.ucard .chips span { font-size: 11.5px; padding: 3px 9px; border-radius: 20px; background: var(--soft); color: #475467; font-weight: 600; }
.ucard .go { position: absolute; top: 22px; right: 20px; color: var(--uc); opacity: 0; transition: .25s; font-size: 20px; }
.ucard:hover .go { opacity: 1; right: 16px; }

/* entry cards */
.ecard { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: .25s; }
.ecard:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(16,24,40,.45); }
.ecard-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #e9eef5; }
.ecard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ecard:hover .ecard-img img { transform: scale(1.05); }
.ecard-type { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.95); color: var(--navy); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 20px; }
.ecard-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.ecard-unit { font-size: 11.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--uc); margin-bottom: 6px; }
.ecard h3 { font-size: 16.5px; font-weight: 700; line-height: 1.35; color: var(--navy); margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ecard-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.ecard p { font-size: 13.5px; color: #475467; margin: 0; }

/* unit page */
.unit-hero { position: relative; color: #fff; min-height: 440px; display: flex; align-items: flex-end; overflow: hidden; background: var(--uc); }
.unit-hero .carousel, .unit-hero .carousel-inner, .unit-hero .carousel-item { position: absolute; inset: 0; height: 100%; }
.unit-hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.unit-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,15,30,.15) 0%, rgba(5,15,30,.35) 45%, color-mix(in srgb, var(--uc) 85%, #000) 100%); pointer-events: none; z-index: 1; }
.unit-hero.no-img { background: radial-gradient(800px 400px at 85% 10%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, color-mix(in srgb, var(--uc) 80%, #000), var(--uc)); }
.unit-hero .inner { position: relative; z-index: 2; padding: 60px 0 44px; width: 100%; }
.unit-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.unit-hero .badge-type { background: rgba(255,255,255,.18); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.3); font-weight: 600; padding: 6px 12px; border-radius: 20px; font-size: 12.5px; }
.unit-hero .cap { font-size: 14px; opacity: .9; }
.unit-tabs-pub { position: sticky; top: 72px; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 6px 16px -14px rgba(0,0,0,.3); }
.unit-tabs-pub .scroller { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.unit-tabs-pub a { white-space: nowrap; padding: 14px 16px; font-weight: 600; font-size: 14px; color: #475467; text-decoration: none; border-bottom: 3px solid transparent; }
.unit-tabs-pub a:hover, .unit-tabs-pub a.active { color: var(--uc); border-color: var(--uc); }
.about-box { font-size: 16px; line-height: 1.8; color: #344054; }
.mini-stat { border-radius: 14px; padding: 16px; background: color-mix(in srgb, var(--uc) 7%, #fff); border: 1px solid color-mix(in srgb, var(--uc) 18%, #fff); text-decoration: none; display: block; color: inherit; transition: .2s; }
.mini-stat:hover { transform: translateY(-2px); }
.mini-stat .n { font-size: 28px; font-weight: 800; color: var(--uc); line-height: 1; }
.mini-stat .l { font-size: 13px; color: #475467; margin-top: 4px; }
.info-card { border-radius: var(--radius); border: 1px solid var(--line); padding: 22px; background: #fff; }
.info-card .row-i { display: flex; gap: 10px; padding: 7px 0; font-size: 14px; }
.info-card .row-i i { color: var(--uc, var(--accent)); }

/* team */
.tcard { text-align: center; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); padding: 28px 18px 22px; height: 100%; transition: .25s; position: relative; overflow: hidden; }
.tcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 70px; background: linear-gradient(135deg, color-mix(in srgb, var(--uc) 85%, #000), var(--uc)); }
.tcard:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(16,24,40,.45); }
.tcard img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; border: 5px solid #fff; position: relative; box-shadow: 0 8px 22px rgba(0,0,0,.15); background: #fff; }
.tcard h3 { font-size: 16.5px; font-weight: 700; margin: 14px 0 4px; color: var(--navy); }
.tcard .des { font-size: 13.5px; color: var(--muted); }
.tcard .role { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; background: color-mix(in srgb, var(--uc) 12%, #fff); color: var(--uc); }
.tcard .links a { color: #98a2b3; margin: 0 5px; font-size: 16px; }
.tcard .links a:hover { color: var(--uc); }
.group-title { font-family: "Fraunces", serif; font-size: 1.5rem; color: var(--navy); margin: 10px 0 18px; display: flex; align-items: center; gap: 12px; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* banner */
.page-banner { color: #fff; padding: 56px 0 46px; background: radial-gradient(700px 300px at 90% 0%, rgba(255,255,255,.16), transparent 60%), linear-gradient(135deg, color-mix(in srgb, var(--uc) 80%, #000), var(--uc)); }
.page-banner h1 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); font-weight: 700; margin: 0; }
.page-banner p { opacity: .85; margin: 8px 0 0; max-width: 720px; }
.crumbs { font-size: 13px; margin-bottom: 10px; opacity: .9; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs i { font-size: 10px; opacity: .7; }

/* filters */
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 7px 15px; border-radius: 30px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 600; color: #475467; text-decoration: none; transition: .2s; }
.chip:hover { border-color: var(--uc, var(--accent)); color: var(--uc, var(--accent)); }
.chip.active { background: var(--uc, var(--navy-2)); border-color: var(--uc, var(--navy-2)); color: #fff; }
.search-bar { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: 0 10px 30px -22px rgba(16,24,40,.4); }
.search-bar .form-control, .search-bar .form-select { border: 0; background: var(--soft); border-radius: 10px; }

/* item detail */
.detail-meta { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.detail-meta .r { display: flex; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; gap: 12px; }
.detail-meta .r:last-child { border: 0; }
.detail-meta .k { color: var(--muted); width: 42%; flex: 0 0 42%; }
.detail-meta .v { font-weight: 600; word-break: break-word; }
.detail-body { font-size: 16.5px; line-height: 1.85; color: #344054; }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.gal a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: #eef2f7; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gal a:hover img { transform: scale(1.06); }
.cover-big { border-radius: var(--radius); overflow: hidden; max-height: 520px; }
.cover-big img { width: 100%; max-height: 520px; object-fit: cover; }
.btn-acc { background: var(--uc, var(--accent)); border: 0; color: #fff; font-weight: 700; border-radius: 12px; padding: 10px 18px; }
.btn-acc:hover { color: #fff; filter: brightness(1.08); }

/* outlet */
.outlet-hero { color: #fff; padding: 70px 0 60px; background: radial-gradient(800px 380px at 90% 10%, rgba(242,179,61,.28), transparent 60%), linear-gradient(135deg, #0d3b2e 0%, #13563f 50%, #1fa67a 120%); }
.outlet-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.pcard { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: .25s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(16,24,40,.45); }
.pcard-img { position: relative; display: block; aspect-ratio: 1/1; background: #f2f5f3; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pbadge { position: absolute; top: 12px; left: 12px; background: var(--gold); color: #3d2a00; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 20px; }
.pbadge.out { left: auto; right: 12px; background: #fee4e2; color: #b42318; }
.pcard-body { padding: 16px 16px 14px; display: flex; flex-direction: column; flex: 1; }
.pcard-cat { font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; color: var(--accent); }
.pcard h3 { font-size: 16.5px; font-weight: 700; margin: 6px 0; line-height: 1.3; }
.pcard h3 a { color: var(--navy); text-decoration: none; }
.pcard p { font-size: 13.5px; color: var(--muted); margin: 0 0 10px; }
.pcard-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.price { font-weight: 800; font-size: 18px; color: var(--navy); }
.price small { font-size: 12px; color: var(--muted); font-weight: 600; }
.price .por { font-size: 13px; color: var(--muted); font-weight: 700; }
.btn-wa { margin-left: auto; background: #25d366; color: #fff; font-weight: 700; border-radius: 30px; padding: 8px 14px; text-decoration: none; font-size: 13.5px; display: inline-flex; gap: 6px; align-items: center; box-shadow: 0 8px 18px -10px #25d366; white-space: nowrap; }
.btn-wa:hover { background: #1ebe5b; color: #fff; }
.btn-wa.lg { padding: 13px 24px; font-size: 16px; margin-left: 0; }
.wa-num { font-size: 12px; color: var(--muted); margin-top: 8px; }
.wa-num i { color: #25d366; }
.price-big { font-size: 34px; font-weight: 800; color: var(--navy); }
.nut-table td { padding: 6px 10px; border-bottom: 1px dashed var(--line); font-size: 14px; }
.wa-float { position: fixed; left: 20px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; z-index: 1000; box-shadow: 0 10px 25px -8px rgba(37,211,102,.7); text-decoration: none; }
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* footer */
.site-footer { background: #0c1f3a; color: #a9b8cf; padding: 60px 0 0; margin-top: 0; }
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 14px; }
.site-footer a { color: #a9b8cf; text-decoration: none; display: inline-block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding: 18px 0; font-size: 13px; text-align: center; }
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy-2); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: .3s; z-index: 1000; text-decoration: none; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { color: #fff; background: var(--accent); }
.empty-pub { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-pub i { font-size: 46px; opacity: .45; display: block; margin-bottom: 10px; }
.pagination .page-link { border-radius: 10px !important; margin: 0 3px; border: 1px solid var(--line); color: var(--navy-2); font-weight: 600; }
.pagination .active .page-link { background: var(--uc, var(--navy-2)); border-color: var(--uc, var(--navy-2)); }

@media (max-width: 1199.98px) { .unit-tabs-pub { top: 64px; } }
@media (max-width: 767.98px) {
    .sec { padding: 48px 0; }
    .unit-hero { min-height: 360px; }
    .detail-meta .k { width: 40%; flex-basis: 40%; }
}

/* when the main pkncuaf.com navbar is used on portal pages */
.main-site-nav .navbar { font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.main-site-nav .navbar .dropdown-menu { font-size: .9rem; }
.app-card { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); padding: 18px; transition: .25s; }
.app-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(16,24,40,.45); }
.app-top { display: flex; gap: 14px; align-items: center; color: inherit; }
.app-icon { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; flex: 0 0 72px; box-shadow: 0 6px 16px rgba(0,0,0,.12); background: #eef2f7; }
.app-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin: 0 0 2px; }
.min-w-0 { min-width: 0; }
