/* Laman umum SK Bandar Putra */
:root {
  --pb-navy: #062B67;
  --pb-gold: #FFD21C;
  --pb-blue: #1683E8;
  --pb-bg: #F4F8FD;
  --pb-text: #10233F;
  --pb-muted: #5E6E86;
  --pb-line: #DCE7F4;
  --pb-radius: 18px;
  --pb-wa: #25D366;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body.pb { margin: 0; font-family: Inter, "Segoe UI", sans-serif; color: var(--pb-text); background: #fff; line-height: 1.6; }
.pb a { color: inherit; }
.pb img { max-width: 100%; }
.pb [hidden] { display: none !important; }
.pb button { font: inherit; }

/* ---------- Reveal animation (only when JS is running) ---------- */
.pb-js .pb-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.pb-js .pb-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pb-js .pb-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Top bar ---------- */
.pb-top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(16px, 4vw, 48px);
  color: #fff;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.pb-top.is-scrolled { background: rgba(6, 27, 64, 0.94); backdrop-filter: blur(8px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); padding-top: 8px; padding-bottom: 8px; }
.pb-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.pb-brand img { width: 44px; height: 44px; object-fit: contain; }
.pb-brand strong { display: block; font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: 1rem; line-height: 1.1; }
.pb-brand small { display: block; font-size: 0.68rem; letter-spacing: 0.14em; color: var(--pb-gold); font-weight: 700; }
.pb-nav { display: flex; align-items: center; gap: 2px; }
.pb-nav a { position: relative; padding: 8px 11px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 0.9rem; opacity: 0.9; white-space: nowrap; }
.pb-nav a:hover, .pb-nav a.is-current { background: rgba(255, 255, 255, 0.12); opacity: 1; }
.pb-nav a.is-current::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--pb-gold); }
.pb-login-menu { position: relative; margin-left: 8px; }
.pb-login-menu summary { list-style: none; cursor: pointer; padding: 8px 14px; border-radius: 10px; background: var(--pb-gold); color: var(--pb-navy); font-weight: 800; font-size: 0.9rem; }
.pb-login-menu summary::-webkit-details-marker { display: none; }
.pb-login-menu div { position: absolute; right: 0; top: calc(100% + 6px); z-index: 6; display: grid; min-width: 148px; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18); }
.pb-login-menu a { padding: 10px 14px; border-radius: 0; color: var(--pb-navy); font-weight: 700; opacity: 1; }
.pb-login-menu a:hover { background: #EAF4FF; }
.pb-login-menu a::after { display: none; }
.pb-foot-login a { color: inherit; font-weight: 700; }
.pb-burger { display: none; width: 42px; height: 42px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, 0.14); cursor: pointer; padding: 10px; }
.pb-burger span { display: block; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.pb-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pb-burger.is-open span:nth-child(2) { opacity: 0; }
.pb-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero + slideshow ---------- */
.pb-hero {
  position: relative; overflow: hidden;
  min-height: min(92vh, 760px);
  display: grid; place-items: center; text-align: center;
  padding: 110px 20px 100px;
  color: #fff;
  background: radial-gradient(circle at 70% 20%, #1683E8, var(--pb-navy) 60%);
}
.pb-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(4, 20, 50, 0.72) 0%, rgba(6, 43, 103, 0.62) 55%, rgba(6, 43, 103, 0.92) 100%);
}
.pb-slides { position: absolute; inset: 0; z-index: 0; }
.pb-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 7s ease; }
.pb-slide.is-active { opacity: 1; transform: scale(1); }
.pb-hero-inner { position: relative; z-index: 2; max-width: 820px; }
.pb-js .pb-hero-inner > * { animation: pb-rise 0.8s ease both; }
.pb-js .pb-hero-inner > *:nth-child(2) { animation-delay: 0.1s; }
.pb-js .pb-hero-inner > *:nth-child(3) { animation-delay: 0.2s; }
.pb-js .pb-hero-inner > *:nth-child(4) { animation-delay: 0.3s; }
.pb-js .pb-hero-inner > *:nth-child(5) { animation-delay: 0.4s; }
.pb-js .pb-hero-inner > *:nth-child(6) { animation-delay: 0.5s; }
@keyframes pb-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.pb-hero-logo { width: clamp(150px, 22vw, 240px); max-width: 70vw; height: auto; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35)); }
.pb-kicker { margin: 14px 0 0; letter-spacing: 0.22em; font-size: 0.8rem; font-weight: 700; opacity: 0.85; }
.pb-hero h1 { margin: 6px 0 6px; font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: clamp(2rem, 5.5vw, 3.6rem); line-height: 1.08; text-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); }
.pb-motto { margin: 0; color: var(--pb-gold); font-weight: 800; letter-spacing: 0.24em; font-size: clamp(0.85rem, 2vw, 1.05rem); }
.pb-intro { margin: 18px auto 0; max-width: 640px; font-size: clamp(0.98rem, 2vw, 1.12rem); opacity: 0.94; }
.pb-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.pb-dots { position: absolute; z-index: 3; left: 50%; bottom: 76px; transform: translateX(-50%); display: flex; gap: 8px; }
.pb-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: width 0.25s ease, background 0.25s ease; }
.pb-dots button.is-active { width: 28px; background: var(--pb-gold); }
.pb-scroll { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); width: 28px; height: 44px; border: 2px solid rgba(255, 255, 255, 0.7); border-radius: 999px; }
.pb-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: pb-scroll 1.6s ease-in-out infinite; }
@keyframes pb-scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.pb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--pb-gold); color: var(--pb-navy) !important; font-weight: 800; text-decoration: none; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16); cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.pb-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2); }
.pb-btn-ghost { background: transparent; color: #fff !important; border: 2px solid rgba(255, 255, 255, 0.7); box-shadow: none; }
.pb-btn-wa { background: var(--pb-wa); color: #fff !important; }
.pb-btn-line { background: #fff; border: 2px solid var(--pb-line); box-shadow: none; }

/* ---------- News ticker ---------- */
.pb-ticker { display: flex; align-items: stretch; background: var(--pb-navy); color: #fff; overflow: hidden; border-top: 3px solid var(--pb-gold); }
.pb-ticker > strong { flex: none; display: grid; place-items: center; padding: 0 18px; background: var(--pb-gold); color: var(--pb-navy); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.pb-ticker-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.pb-ticker-move { display: inline-flex; gap: 48px; padding: 12px 0; white-space: nowrap; animation: pb-marquee 40s linear infinite; }
.pb-ticker:hover .pb-ticker-move { animation-play-state: paused; }
.pb-ticker a { text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.pb-ticker a::before { content: "●"; margin-right: 10px; color: var(--pb-gold); font-size: 0.6rem; vertical-align: middle; }
.pb-ticker a:hover { color: var(--pb-gold); }
@keyframes pb-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pb-ticker-move { animation: none; } }

/* ---------- Stats ---------- */
.pb-stats {
  position: relative; z-index: 4;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1000px; margin: -54px auto 0; padding: 0 20px; gap: 14px;
}
.pb-stats.pb-stats-flat { margin-top: 28px; }
.pb-stats div { background: #fff; border-radius: var(--pb-radius); padding: 20px 14px; text-align: center; box-shadow: 0 16px 36px rgba(6, 43, 103, 0.14); border-bottom: 4px solid var(--pb-gold); }
.pb-stats strong { display: block; font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--pb-navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.pb-stats span { color: var(--pb-muted); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Sections ---------- */
.pb-section { padding: clamp(56px, 8vw, 96px) 20px; }
.pb-alt { background: var(--pb-bg); }
.pb-wrap { max-width: 1140px; margin: 0 auto; }
.pb-eyebrow { margin: 0; color: var(--pb-blue); font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.78rem; }
.pb-section h2 { margin: 6px 0 28px; font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: clamp(1.5rem, 3.6vw, 2.2rem); color: var(--pb-navy); line-height: 1.2; }
.pb-sub { margin: 28px 0 14px; color: var(--pb-navy); font-size: 1.05rem; }
.pb-card { background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); padding: 24px; box-shadow: 0 8px 22px rgba(6, 43, 103, 0.06); }
.pb-card h3 { margin: 0 0 10px; color: var(--pb-navy); }
.pb-card p { margin: 0; }

.pb-vm { display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px; }
.pb-vision { background: linear-gradient(135deg, var(--pb-navy), #0757B8); color: #fff; border: 0; }
.pb-vision h3 { color: var(--pb-gold); }
.pb-vision p { font-size: 1.12rem; font-weight: 600; }
.pb-vm ol { margin: 0; padding-left: 20px; }
.pb-vm li { margin-bottom: 6px; }
.pb-about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; margin-top: 18px; }
.pb-gb { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: start; }
.pb-gb img, .pb-gb .pb-avatar { grid-row: span 2; width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 10px 22px rgba(6, 43, 103, 0.18); }
.pb-gb blockquote { margin: 0; font-style: italic; color: #33445e; }
.pb-sign { grid-column: 2; }
.pb-sign strong { display: block; color: var(--pb-navy); }
.pb-sign small { color: var(--pb-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; }
.pb-identity { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; align-items: start; }
.pb-quote p { padding-left: 16px; border-left: 4px solid var(--pb-gold); font-weight: 600; color: var(--pb-navy); line-height: 1.7; }
.pb-justify { text-align: justify; line-height: 1.75; color: #33445e; }
.pb-badge-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.pb-badge-head img { width: 76px; height: 76px; object-fit: contain; flex: none; }
.pb-badge-head h3 { margin: 0; }
.pb-badge-motto { color: var(--pb-blue); font-weight: 800; letter-spacing: 0.14em; font-size: 0.85rem; }
.pb-badge ul { margin: 0; padding-left: 20px; line-height: 1.65; }
.pb-badge li { margin-bottom: 4px; }
.pb-song audio { display: block; width: 100%; margin: 10px 0; }
.pb-muted { color: var(--pb-muted); font-size: 0.9rem; }
.pb-lyrics { margin-top: 8px; }
.pb-lyrics summary { cursor: pointer; font-weight: 700; color: var(--pb-blue); }
.pb-lyrics p { margin-top: 10px; padding: 16px; border-radius: 14px; background: var(--pb-bg); font-style: italic; line-height: 1.9; text-align: center; }
.pb-timeline { list-style: none; margin: 4px 0 0; padding: 0; position: relative; }
.pb-timeline::before { content: ""; position: absolute; left: 30px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: linear-gradient(var(--pb-blue), var(--pb-gold)); }
.pb-timeline li { position: relative; display: grid; grid-template-columns: 62px 1fr; gap: 12px; align-items: start; padding: 6px 0; }
.pb-timeline span { position: relative; z-index: 1; justify-self: start; padding: 3px 9px; border-radius: 999px; background: var(--pb-navy); color: #fff; font-weight: 800; font-size: 0.8rem; }
.pb-timeline p { font-size: 0.95rem; }
#kualiti { background: linear-gradient(180deg, #fff, #FFFBEA); }
.pb-quality { display: grid; grid-template-columns: 1fr 1.4fr; gap: 18px; align-items: start; }
.pb-charter { margin: 0; padding: 0; list-style: none; counter-reset: pbc; display: grid; gap: 10px; }
.pb-charter li { position: relative; padding: 10px 12px 10px 48px; border-radius: 12px; background: var(--pb-bg); counter-increment: pbc; line-height: 1.55; }
.pb-charter li::before { content: counter(pbc); position: absolute; left: 10px; top: 8px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--pb-navy); color: var(--pb-gold); font-weight: 800; font-size: 0.82rem; }
.pb-avatar { display: grid; place-items: center; background: linear-gradient(135deg, var(--pb-navy), var(--pb-blue)); color: #fff; font-weight: 800; font-size: 1.6rem; border-radius: 50%; }

/* ---------- People ---------- */
.pb-leaders { margin-top: clamp(40px, 6vw, 72px); }
.pb-leaders:first-child { margin-top: 0; }
.pb-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.pb-person { background: #fff; border-radius: var(--pb-radius); padding: 24px 14px 18px; text-align: center; box-shadow: 0 8px 22px rgba(6, 43, 103, 0.07); border: 1px solid var(--pb-line); border-top: 4px solid var(--pb-gold); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.pb-person.is-head { background: linear-gradient(180deg, #FFFBEA, #fff 60%); }
.pb-person.is-head img, .pb-person.is-head .pb-avatar { border-color: var(--pb-gold); }
.pb-person:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(6, 43, 103, 0.12); }
.pb-person img, .pb-person .pb-avatar { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; border: 4px solid var(--pb-bg); }
.pb-person strong { display: block; color: var(--pb-navy); line-height: 1.3; }
.pb-person small { display: block; margin-top: 4px; color: var(--pb-blue); font-weight: 800; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- News ---------- */
.pb-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pb-news-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.pb-news-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(6, 43, 103, 0.12); }
.pb-news-card.is-lead { grid-column: span 2; flex-direction: row; }
.pb-news-card.is-lead .pb-news-img { flex: 1.1; aspect-ratio: auto; min-height: 240px; }
.pb-news-card.is-lead .pb-news-body { flex: 1; padding: 26px; }
.pb-news-card.is-lead h3 { font-size: 1.3rem; }
.pb-news-img { aspect-ratio: 16 / 9; background: #0b1f3a; }
.pb-news-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-news-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.pb-news-body h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.pb-news-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; color: var(--pb-muted); font-size: 0.82rem; font-weight: 600; }
.pb-pin { padding: 2px 10px; border-radius: 999px; background: #FFF4CC; color: #8A5A00; font-weight: 800; }
.pb-news-excerpt { color: #33445e; font-size: 0.94rem; }
.pb-more { align-self: flex-start; margin-top: auto; padding: 6px 0; border: 0; background: none; color: var(--pb-blue); font-weight: 800; cursor: pointer; }
.pb-more:hover { text-decoration: underline; }

.pb-modal { width: min(720px, calc(100vw - 28px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
.pb-modal::backdrop { background: rgba(3, 12, 30, 0.7); backdrop-filter: blur(3px); }
.pb-modal > div { padding: 26px 28px 30px; }
.pb-modal img { display: block; width: calc(100% + 56px); max-width: none; margin: -26px -28px 18px; max-height: 360px; object-fit: cover; }
.pb-modal h3 { margin: 6px 0 12px; color: var(--pb-navy); font-size: 1.35rem; line-height: 1.3; }
.pb-modal-close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--pb-navy); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18); }

/* ---------- Events ---------- */
.pb-events { display: grid; grid-template-columns: minmax(280px, 0.9fr) 1.4fr; gap: 22px; align-items: start; }
.pb-countdown { position: sticky; top: 90px; padding: 28px; border-radius: 22px; color: #fff; text-align: center; background: linear-gradient(145deg, var(--pb-navy), #0757B8 70%, var(--pb-blue)); box-shadow: 0 20px 40px rgba(6, 43, 103, 0.25); }
.pb-countdown .pb-eyebrow { color: var(--pb-gold); }
.pb-countdown h3 { margin: 8px 0 4px; font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: 1.35rem; line-height: 1.3; }
.pb-cd-when { margin: 0 0 18px; opacity: 0.9; font-size: 0.92rem; }
.pb-cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.pb-cd-grid div { padding: 12px 4px; border-radius: 14px; background: rgba(255, 255, 255, 0.12); }
.pb-cd-grid strong { display: block; font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.pb-cd-grid span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; }
.pb-cd-live { margin: 0 0 18px; font-size: 1.2rem; font-weight: 800; color: var(--pb-gold); }
.pb-event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pb-event { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid var(--pb-line); border-radius: 16px; transition: border-color 0.2s ease, transform 0.2s ease; }
.pb-event:hover { border-color: var(--pb-blue); transform: translateX(4px); }
.pb-date { display: grid; place-items: center; width: 62px; height: 66px; border-radius: 14px; background: var(--pb-bg); color: var(--pb-blue); font-weight: 800; font-size: 0.78rem; text-transform: uppercase; line-height: 1.1; }
.pb-date strong { font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: 1.6rem; color: var(--pb-navy); }
.pb-event h3 { margin: 0 0 2px; font-size: 1rem; color: var(--pb-navy); }
.pb-event p { margin: 0; color: var(--pb-muted); font-size: 0.86rem; }
.pb-event-desc { margin-top: 4px !important; color: #33445e !important; }
.pb-cal { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--pb-bg); text-decoration: none; font-size: 0.9rem; transition: background 0.2s ease; }
.pb-cal:hover { background: var(--pb-gold); }

/* ---------- Kokurikulum ---------- */
.pb-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pb-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 2px solid var(--pb-line); border-radius: 999px; background: #fff; color: var(--pb-navy); font-weight: 700; cursor: pointer; transition: all 0.2s ease; }
.pb-tabs button small { padding: 1px 8px; border-radius: 999px; background: var(--pb-bg); font-size: 0.74rem; }
.pb-tabs button:hover { border-color: var(--pb-blue); }
.pb-tabs button.is-active { background: var(--pb-navy); border-color: var(--pb-navy); color: #fff; }
.pb-tabs button.is-active small { background: var(--pb-gold); color: var(--pb-navy); }
.pb-tabpanel { animation: pb-fade 0.35s ease; }
@keyframes pb-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pb-panel-sum { margin: 0 0 16px; color: var(--pb-muted); }
.pb-panel-sum strong { color: var(--pb-navy); }
.pb-units { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.pb-unit { display: grid; gap: 6px; padding: 16px; background: #fff; border: 1px solid var(--pb-line); border-radius: 14px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.pb-unit:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(6, 43, 103, 0.1); }
.pb-unit strong { color: var(--pb-navy); line-height: 1.3; }
.pb-unit small { color: var(--pb-muted); font-size: 0.82rem; }
.pb-unit em { font-style: normal; font-weight: 800; font-size: 0.82rem; color: var(--pb-blue); }
.pb-bar { height: 6px; border-radius: 999px; background: var(--pb-bg); overflow: hidden; }
.pb-bar span { display: block; height: 100%; min-width: 4px; border-radius: inherit; background: linear-gradient(90deg, var(--pb-blue), var(--pb-gold)); }
.pb-houses-title { margin-top: 40px; }
.pb-houses { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.pb-house { flex: 1 1 140px; max-width: 240px; position: relative; overflow: hidden; display: grid; justify-items: center; gap: 2px; padding: 22px 14px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--pb-line); border-top: 6px solid var(--house); text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.pb-house::before { content: ""; position: absolute; inset: 0; background: var(--house); opacity: 0.06; pointer-events: none; }
.pb-house:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(6, 43, 103, 0.12); }
.pb-house-badge { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 6px; border-radius: 50%; background: var(--house); color: #fff; font-weight: 800; font-size: 1.4rem; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15); }
.pb-house strong { color: var(--pb-navy); font-size: 1.05rem; }
.pb-house em { font-style: normal; font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--pb-navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.pb-house small { color: var(--pb-muted); font-weight: 700; font-size: 0.78rem; }

/* ---------- Filter chips ---------- */
.pb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -10px 0 20px; }
.pb-chips button { padding: 7px 16px; border: 1px solid var(--pb-line); border-radius: 999px; background: #fff; color: var(--pb-navy); font-weight: 700; font-size: 0.86rem; cursor: pointer; transition: all 0.2s ease; }
.pb-chips button:hover { border-color: var(--pb-blue); }
.pb-chips button.is-active { background: var(--pb-blue); border-color: var(--pb-blue); color: #fff; }

/* ---------- Achievements ---------- */
.pb-ach { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.pb-ach-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.pb-ach-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(6, 43, 103, 0.12); }
.pb-ach-img { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #fff6cf, #ffe27a); display: grid; place-items: center; font-size: 3rem; overflow: hidden; }
.pb-ach-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.pb-ach-card:hover .pb-ach-img img { transform: scale(1.05); }
.pb-ach-img em { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: var(--pb-gold); color: var(--pb-navy); font-style: normal; font-weight: 800; font-size: 0.8rem; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18); }
.pb-ach-body { padding: 16px 18px 18px; }
.pb-level { color: var(--pb-blue); font-weight: 800; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; }
.pb-ach-body h3 { margin: 4px 0 6px; font-size: 1.02rem; line-height: 1.35; }
.pb-ach-body p { color: #33445e; font-weight: 600; font-size: 0.92rem; }
.pb-ach-body time { display: block; margin-top: 6px; color: var(--pb-muted); font-size: 0.82rem; }

/* ---------- Video ---------- */
.pb-video { position: relative; aspect-ratio: 16 / 9; max-width: 900px; margin: 0 auto 28px; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 20px 44px rgba(6, 43, 103, 0.22); }
.pb-video button { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.pb-video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.2s ease, transform 0.4s ease; }
.pb-video button:hover img { opacity: 1; transform: scale(1.03); }
.pb-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgba(255, 0, 0, 0.92); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); transition: transform 0.2s ease; }
.pb-play::after { content: ""; position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; }
.pb-video button:hover .pb-play { transform: scale(1.1); }
.pb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pb-video.is-vertical { aspect-ratio: 9 / 16; max-width: 360px; }
.pb-v-poster { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px 20px; text-align: left; color: #fff; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.14), transparent 55%), linear-gradient(135deg, var(--pb-navy), #0757B8); }
.pb-v-poster strong { max-width: 80%; font-size: 1rem; line-height: 1.35; }
.pb-v-facebook .pb-v-poster { background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), transparent 55%), linear-gradient(135deg, #0B3D91, #1877F2); }
.pb-v-tiktok .pb-v-poster { background: radial-gradient(circle at 70% 20%, rgba(37, 244, 238, 0.35), transparent 50%), linear-gradient(160deg, #111, #2a0a18); }
.pb-v-drive .pb-v-poster { background: radial-gradient(circle at 30% 20%, rgba(255, 210, 28, 0.3), transparent 55%), linear-gradient(135deg, #0F5132, #1A73E8); }
.pb-v-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.03em; }
.pb-v-facebook .pb-play { background: rgba(24, 119, 242, 0.95); }
.pb-v-tiktok .pb-play { background: rgba(254, 44, 85, 0.95); }
.pb-v-drive .pb-play, .pb-v-vimeo .pb-play { background: rgba(26, 115, 232, 0.95); }
.pb-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-bottom: 8px; align-items: start; }
.pb-vcard { background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); overflow: hidden; box-shadow: 0 8px 22px rgba(6, 43, 103, 0.06); }
.pb-vcard[hidden] { display: none; }
.pb-video.pb-video-sm { max-width: none; margin: 0; border-radius: 0; box-shadow: none; }
.pb-video.pb-video-sm.is-vertical { max-width: none; aspect-ratio: 4 / 5; }
.pb-video-sm .pb-v-poster strong { display: none; }
.pb-video-sm .pb-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
.pb-video-sm .pb-play::after { left: 24px; top: 18px; border-width: 12px 0 12px 19px; }
.pb-vcard-body { padding: 12px 16px 16px; }
.pb-vcard-body h4 { margin: 0; color: var(--pb-navy); font-size: 0.98rem; line-height: 1.35; }
.pb-vcard-body p { margin: 4px 0 0; color: var(--pb-muted); font-size: 0.86rem; }
.pb-video.pb-news-video { max-width: none; margin: 0; border-radius: 0; box-shadow: none; flex: none; }
.pb-news-card.is-lead .pb-news-video { flex: 1.1; aspect-ratio: 16 / 9; align-self: center; }
.pb-news-video.is-vertical { aspect-ratio: 16 / 9; max-width: none; }
.pb-video.is-vertical { aspect-ratio: 9 / 16; max-width: 340px; }
.pb-v-poster { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px 18px 22px; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.14), transparent 55%), linear-gradient(135deg, var(--pb-navy), #0757B8); color: #fff; text-align: left; }
.pb-v-poster strong { max-width: 80%; font-size: 1rem; line-height: 1.35; }
.pb-v-facebook .pb-v-poster { background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), transparent 55%), linear-gradient(135deg, #0B3D91, #1877F2); }
.pb-v-tiktok .pb-v-poster { background: radial-gradient(circle at 70% 20%, rgba(37, 244, 238, 0.35), transparent 50%), linear-gradient(160deg, #111, #2b0b1c 60%, #FE2C55); }
.pb-v-drive .pb-v-poster { background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), transparent 55%), linear-gradient(135deg, #0F7B3F, #1A73E8); }
.pb-v-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.03em; }
.pb-v-facebook .pb-play { background: rgba(24, 119, 242, 0.95); }
.pb-v-tiktok .pb-play { background: rgba(254, 44, 85, 0.95); }
.pb-v-drive .pb-play, .pb-v-vimeo .pb-play { background: rgba(22, 131, 232, 0.95); }
.pb-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; align-items: start; }
.pb-vcard { background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); overflow: hidden; box-shadow: 0 8px 22px rgba(6, 43, 103, 0.06); }
.pb-vcard[hidden] { display: none; }
.pb-video-sm { margin: 0; max-width: none; border-radius: 0; box-shadow: none; }
.pb-video-sm.is-vertical { max-width: none; aspect-ratio: 4 / 5; }
.pb-video-sm .pb-play, .pb-news-video .pb-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
.pb-video-sm .pb-play::after, .pb-news-video .pb-play::after { left: 24px; top: 18px; border-width: 12px 0 12px 19px; }
.pb-vcard-body { padding: 12px 16px 16px; }
.pb-vcard-body h4 { margin: 0; color: var(--pb-navy); font-size: 0.98rem; line-height: 1.35; }
.pb-vcard-body p { margin: 4px 0 0; color: var(--pb-muted); font-size: 0.88rem; }
.pb-news-video { margin: 0; max-width: none; border-radius: 0; box-shadow: none; }
.pb-news-card.is-lead .pb-news-video { flex: 1.1; aspect-ratio: auto; min-height: 240px; }
.pb-news-video.is-vertical { max-width: none; aspect-ratio: 4 / 5; }

/* ---------- Gallery ---------- */
.pb-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pb-shot { position: relative; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; background: #0b1f3a; animation: pb-fade 0.35s ease; }
.pb-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.pb-shot:hover img { transform: scale(1.06); }
.pb-shot span { position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; text-align: left; color: #fff; font: 600 0.84rem Inter, sans-serif; background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); }

.pb-lightbox { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: auto 1fr auto; align-items: center; background: rgba(3, 12, 30, 0.94); padding: 20px; }
.pb-lightbox figure { margin: 0; text-align: center; }
.pb-lightbox img { max-height: 80vh; max-width: 100%; border-radius: 10px; animation: pb-fade 0.25s ease; }
.pb-lightbox figcaption { color: #fff; margin-top: 10px; }
.pb-lb-count { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.6); font-size: 0.82rem; }
.pb-lb-close { position: absolute; top: 14px; right: 18px; font-size: 2.2rem; }
.pb-lb-close, .pb-lb-nav { background: none; border: 0; color: #fff; cursor: pointer; line-height: 1; }
.pb-lb-nav { font-size: 3rem; padding: 0 12px; opacity: 0.8; }
.pb-lb-nav:hover, .pb-lb-close:hover { opacity: 1; color: var(--pb-gold); }

/* ---------- Parents: info, FAQ, documents ---------- */
.pb-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-bottom: 10px; }
.pb-info { position: relative; padding-left: 84px; }
.pb-info-ico { position: absolute; left: 22px; top: 22px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--pb-bg); font-size: 1.4rem; }
.pb-info ul { margin: 0; padding-left: 18px; }
.pb-info li { margin-bottom: 4px; }
.pb-parents { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.pb-parents.is-single { grid-template-columns: 1fr; }
.pb-faq { display: grid; gap: 10px; }
.pb-faq details { background: #fff; border: 1px solid var(--pb-line); border-radius: 14px; overflow: hidden; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.pb-faq details[open] { border-color: var(--pb-blue); box-shadow: 0 10px 24px rgba(22, 131, 232, 0.12); }
.pb-faq summary { position: relative; padding: 16px 52px 16px 18px; list-style: none; cursor: pointer; font-weight: 700; color: var(--pb-navy); }
.pb-faq summary::-webkit-details-marker { display: none; }
.pb-faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; width: 28px; height: 28px; margin-top: -14px; display: grid; place-items: center; border-radius: 50%; background: var(--pb-bg); color: var(--pb-blue); font-size: 1.2rem; font-weight: 800; transition: transform 0.25s ease, background 0.2s ease; }
.pb-faq details[open] summary::after { transform: rotate(45deg); background: var(--pb-blue); color: #fff; }
.pb-faq details p { margin: 0; padding: 0 18px 18px; color: #33445e; animation: pb-fade 0.3s ease; }
.pb-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pb-docs a { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; background: #fff; border: 1px solid var(--pb-line); border-radius: 14px; text-decoration: none; transition: border-color 0.2s ease, transform 0.2s ease; }
.pb-docs a:hover { border-color: var(--pb-blue); transform: translateX(4px); }
.pb-docs strong { display: block; color: var(--pb-navy); line-height: 1.3; }
.pb-docs small { color: var(--pb-muted); font-size: 0.8rem; }
.pb-doc-ext { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #FDECEC; color: #B42318; font-weight: 800; font-size: 0.7rem; }
.pb-ext-docx { background: #E8F0FE; color: #1A56DB; }
.pb-ext-xlsx { background: #E6F6EC; color: #067647; }
.pb-ext-pptx { background: #FFF1E6; color: #C2410C; }
.pb-ext-jpg, .pb-ext-png { background: #F3E8FF; color: #7E22CE; }
.pb-dl { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--pb-bg); color: var(--pb-blue); font-weight: 800; }

/* ---------- Contact & map ---------- */
.pb-contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.pb-contact h2 { margin-bottom: 10px; }
.pb-addr { margin: 0; color: #33445e; font-size: 1.02rem; }
.pb-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pb-quick .pb-btn { min-height: 44px; padding: 0 18px; font-size: 0.92rem; }
.pb-contact ul { list-style: none; margin: 0; padding: 22px; display: grid; gap: 14px; background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); }
.pb-contact li { display: grid; grid-template-columns: 90px 1fr; gap: 10px; word-break: break-word; }
.pb-contact li span { color: var(--pb-muted); font-weight: 700; font-size: 0.86rem; }
.pb-contact li a { color: var(--pb-navy); font-weight: 700; text-decoration: none; }
.pb-contact li a:hover { color: var(--pb-blue); }
.pb-map { margin-top: 28px; border-radius: 20px; overflow: hidden; border: 1px solid var(--pb-line); box-shadow: 0 14px 30px rgba(6, 43, 103, 0.1); aspect-ratio: 21 / 8; min-height: 280px; }
.pb-map iframe { display: block; width: 100%; height: 100%; border: 0; }

.pb-foot { background: var(--pb-navy); color: rgba(255, 255, 255, 0.82); text-align: center; padding: 28px 20px 90px; font-size: 0.88rem; }
.pb-foot p { margin: 4px 0; }
.pb-foot a { color: var(--pb-gold); font-weight: 700; text-decoration: none; }

/* ---------- Floating buttons ---------- */
.pb-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; gap: 10px; justify-items: center; }
.pb-wa { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--pb-wa); color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45); transition: transform 0.2s ease; animation: pb-pulse 2.6s ease-in-out infinite; }
.pb-wa:hover { transform: scale(1.08); }
@keyframes pb-pulse { 0%, 100% { box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); } 50% { box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0); } }
.pb-totop { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--pb-navy); color: #fff; font-size: 1.2rem; font-weight: 800; cursor: pointer; box-shadow: 0 8px 20px rgba(6, 43, 103, 0.3); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 0.25s ease, transform 0.25s ease; }
.pb-totop.is-visible { opacity: 1; pointer-events: auto; transform: none; }
@media (prefers-reduced-motion: reduce) { .pb-wa { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .pb-burger { display: block; }
  .pb-nav {
    position: absolute; top: 100%; left: 12px; right: 12px;
    display: none; flex-direction: column; align-items: stretch;
    padding: 10px; border-radius: 16px; background: rgba(6, 27, 64, 0.97); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - 90px); overflow-y: auto;
  }
  .pb-nav.is-open { display: flex; }
  .pb-nav a { padding: 12px 14px; }
  .pb-nav a.is-current::after { left: 14px; right: auto; width: 24px; }
  .pb-login-menu { margin: 6px 0 0; }
  .pb-login-menu summary { text-align: center; }
  .pb-login-menu div { position: static; margin-top: 6px; box-shadow: none; }
}
@media (max-width: 960px) {
  .pb-vm, .pb-about, .pb-contact, .pb-events, .pb-parents, .pb-identity, .pb-quality { grid-template-columns: 1fr; }
  .pb-news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-countdown { position: static; }
  .pb-map { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .pb-brand small { display: none; }
  .pb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -40px; gap: 10px; }
  .pb-stats.pb-stats-flat { margin-top: 20px; }
  .pb-hero { min-height: 86vh; padding-top: 96px; }
  .pb-dots { bottom: 70px; }
  .pb-gb { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .pb-gb img, .pb-gb .pb-avatar { grid-row: auto; }
  .pb-sign { grid-column: auto; }
  .pb-people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pb-person img, .pb-person .pb-avatar { width: 84px; height: 84px; }
  .pb-news { grid-template-columns: 1fr; }
  .pb-news-card.is-lead { grid-column: auto; flex-direction: column; }
  .pb-news-card.is-lead .pb-news-img, .pb-news-card.is-lead .pb-news-video { min-height: 0; aspect-ratio: 16 / 9; flex: none; }
  .pb-news-card.is-lead .pb-news-body { padding: 18px 20px 20px; }
  .pb-news-card.is-lead .pb-news-video { flex: none; width: 100%; }
  .pb-event { grid-template-columns: auto 1fr; }
  .pb-cal { grid-column: 1 / -1; width: 100%; height: 38px; }
  .pb-ach { grid-template-columns: 1fr; }
  .pb-units { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-house { flex-basis: calc(50% - 7px); max-width: calc(50% - 7px); }
  .pb-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pb-lightbox { grid-template-columns: 1fr; padding: 12px; }
  .pb-lb-nav { display: none; }
  .pb-info { padding-left: 24px; padding-top: 80px; }
  .pb-contact li { grid-template-columns: 1fr; gap: 2px; }
  .pb-float { right: 12px; bottom: 12px; }
}
