/* ==========================================================================
   SC Personal — Personal Website & Digital Portfolio (situs publik)
   Karya sharecode.id — https://sharecode.id
   Ubah warna & font cukup di :root.
   ========================================================================== */

@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --pw-primary: #123B65;      --pw-primary-rgb: 18, 59, 101;
  --pw-secondary: #1769AA;    --pw-secondary-rgb: 23, 105, 170;
  --pw-accent: #D6A84F;       --pw-accent-rgb: 214, 168, 79;
  --pw-bg: #FFFFFF;
  --pw-bg-light: #F5F7FA;
  --pw-text: #263238;
  --pw-muted: #64748b;
  --pw-border: #e6ebf2;
  --pw-radius: 1rem;
  --pw-radius-sm: .65rem;
  --pw-shadow: 0 10px 30px rgba(18, 59, 101, .08);
  --pw-shadow-lg: 0 24px 60px rgba(18, 59, 101, .14);
  --pw-font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --pw-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pw-nav-h: 76px;
  --bs-body-font-family: var(--pw-font-body);
  --bs-body-color: var(--pw-text);
  --bs-link-color: var(--pw-secondary);
  --bs-link-color-rgb: var(--pw-secondary-rgb);
  --bs-link-hover-color: var(--pw-primary);
  --bs-primary: var(--pw-primary);
  --bs-primary-rgb: var(--pw-primary-rgb);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--pw-nav-h) + 1rem); }
body { font-family: var(--pw-font-body); color: var(--pw-text); background: var(--pw-bg); font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .font-head { font-family: var(--pw-font-head); color: var(--pw-primary); font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
a { text-decoration: none; transition: color .15s; }
img { max-width: 100%; height: auto; }
::selection { background: rgba(var(--pw-accent-rgb), .35); }
:focus-visible { outline: 3px solid rgba(var(--pw-accent-rgb), .7); outline-offset: 2px; }
.text-muted-2 { color: var(--pw-muted) !important; }
.text-accent { color: var(--pw-accent) !important; }
.text-primary { color: var(--pw-primary) !important; }
.text-secondary-c { color: var(--pw-secondary) !important; }
.bg-light-c { background: var(--pw-bg-light) !important; }
.bg-primary-c { background: var(--pw-primary) !important; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--pw-primary); color: #fff; padding: .6rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Tombol ---------- */
.btn { font-weight: 600; border-radius: 50rem; padding: .7rem 1.5rem; font-size: .95rem; transition: all .2s; }
.btn-sm { padding: .45rem 1rem; font-size: .85rem; }
.btn-lg { padding: .85rem 1.9rem; font-size: 1rem; }
.btn-pw { background: var(--pw-primary); color: #fff; border: 2px solid var(--pw-primary); }
.btn-pw:hover, .btn-pw:focus { background: var(--pw-secondary); border-color: var(--pw-secondary); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(var(--pw-secondary-rgb), .3); }
.btn-pw-outline { background: transparent; color: var(--pw-primary); border: 2px solid rgba(var(--pw-primary-rgb), .2); }
.btn-pw-outline:hover, .btn-pw-outline:focus { border-color: var(--pw-primary); background: var(--pw-primary); color: #fff; }
.btn-pw-accent { background: var(--pw-accent); color: #1c1606; border: 2px solid var(--pw-accent); }
.btn-pw-accent:hover, .btn-pw-accent:focus { background: #c4953b; border-color: #c4953b; color: #1c1606; transform: translateY(-2px); }
.btn-pw-light { background: #fff; color: var(--pw-primary); border: 2px solid #fff; }
.btn-pw-light:hover { background: transparent; color: #fff; }
.btn-link-pw { color: var(--pw-secondary); font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.btn-link-pw i { transition: transform .2s; }
.btn-link-pw:hover i { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.pw-nav { position: sticky; top: 0; z-index: 1030; height: var(--pw-nav-h); background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); transition: box-shadow .25s, background .25s; }
.pw-nav.scrolled { box-shadow: 0 6px 24px rgba(18, 59, 101, .08); background: rgba(255, 255, 255, .97); }
.pw-nav .container { height: 100%; display: flex; align-items: center; gap: 1rem; }
.pw-brand { display: flex; align-items: center; gap: .7rem; color: var(--pw-primary); }
.pw-brand img { width: 42px; height: 42px; border-radius: 12px; }
.pw-brand strong { font-family: var(--pw-font-head); font-size: 1.05rem; display: block; line-height: 1.15; }
.pw-brand small { font-size: .72rem; color: var(--pw-muted); display: block; }
.pw-menu { display: flex; align-items: center; gap: .15rem; margin: 0 0 0 auto; padding: 0; list-style: none; }
.pw-menu > li { position: relative; }
.pw-menu > li > a { display: flex; align-items: center; gap: .3rem; padding: .5rem .8rem; color: var(--pw-text); font-weight: 500; font-size: .92rem; border-radius: 50rem; }
.pw-menu > li > a:hover, .pw-menu > li > a.active { color: var(--pw-primary); }
.pw-menu > li > a.active::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 18px; height: 3px; border-radius: 3px; background: var(--pw-accent); transform: translateX(-50%); }
.pw-menu .pw-sub { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--pw-border); border-radius: var(--pw-radius-sm); box-shadow: var(--pw-shadow-lg); padding: .5rem; list-style: none; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; }
.pw-menu li:hover > .pw-sub, .pw-menu li:focus-within > .pw-sub { opacity: 1; visibility: visible; transform: none; }
.pw-sub a { display: block; padding: .5rem .8rem; border-radius: .5rem; color: var(--pw-text); font-size: .9rem; }
.pw-sub a:hover { background: var(--pw-bg-light); color: var(--pw-primary); }
.pw-burger { margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--pw-border); border-radius: 12px; background: #fff; color: var(--pw-primary); font-size: 1.4rem; display: none; align-items: center; justify-content: center; }
.offcanvas.pw-off { max-width: 320px; }
.pw-off .nav-link { color: var(--pw-text); font-weight: 500; padding: .7rem 0; border-bottom: 1px solid var(--pw-border); display: flex; justify-content: space-between; }
.pw-off .nav-link.active { color: var(--pw-primary); font-weight: 700; }
.pw-off .sub .nav-link { padding-left: 1rem; font-size: .92rem; }
@media (max-width: 1199.98px) { .pw-menu, .pw-nav .pw-cta { display: none !important; } .pw-burger { display: inline-flex; } }

/* ---------- Section ---------- */
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pw-secondary); margin-bottom: .75rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--pw-accent); }
.section-title { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; }
.section-lead { color: var(--pw-muted); font-size: 1.07rem; max-width: 640px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.75rem; }
@media (max-width: 767.98px) { .section { padding: 4rem 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 4.5rem 0 5.5rem; background: radial-gradient(1200px 500px at 90% 0%, rgba(var(--pw-secondary-rgb), .09), transparent 60%), linear-gradient(180deg, #fff 0%, var(--pw-bg-light) 100%); overflow: hidden; }
.hero h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.hero h1 .hl { color: var(--pw-secondary); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .22em; background: rgba(var(--pw-accent-rgb), .45); z-index: -1; border-radius: 4px; }
.hero .lead { font-size: 1.12rem; color: #475569; max-width: 560px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; font-size: .92rem; color: var(--pw-muted); }
.hero-meta i { color: var(--pw-accent); }
.status-pill { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--pw-border); border-radius: 50rem; padding: .4rem .95rem .4rem .7rem; font-size: .85rem; font-weight: 600; color: var(--pw-primary); box-shadow: var(--pw-shadow); }
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, .05); } }
.hero-photo { position: relative; max-width: 460px; margin-left: auto; }
.hero-photo .frame { border-radius: 2rem; overflow: hidden; box-shadow: var(--pw-shadow-lg); aspect-ratio: 5/6; background: #e9eef5; position: relative; z-index: 1; }
.hero-photo .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::before { content: ""; position: absolute; inset: 2rem -1.5rem -1.5rem 2rem; border: 2px solid rgba(var(--pw-accent-rgb), .6); border-radius: 2rem; }
.hero-badge { position: absolute; z-index: 2; background: #fff; border-radius: 1rem; box-shadow: var(--pw-shadow-lg); padding: .8rem 1rem; display: flex; align-items: center; gap: .7rem; font-size: .85rem; }
.hero-badge strong { font-family: var(--pw-font-head); font-size: 1.35rem; color: var(--pw-primary); display: block; line-height: 1; }
.hero-badge .ic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.hero-badge.b1 { left: -2rem; top: 18%; }
.hero-badge.b2 { right: -1.5rem; bottom: 12%; }
@media (max-width: 991.98px) { .hero-photo { margin: 3rem auto 0; } .hero-badge.b1 { left: -.5rem; } .hero-badge.b2 { right: -.5rem; } }

.social { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--pw-border); color: var(--pw-primary); background: #fff; font-size: 1.05rem; transition: all .2s; }
.social a:hover { background: var(--pw-primary); border-color: var(--pw-primary); color: #fff; transform: translateY(-3px); }
.social.dark a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); color: #fff; }
.social.dark a:hover { background: var(--pw-accent); border-color: var(--pw-accent); color: #1c1606; }

/* ---------- Page hero (halaman dalam) ---------- */
.page-hero { padding: 4rem 0 3.25rem; background: linear-gradient(135deg, var(--pw-primary) 0%, #0e2f52 55%, var(--pw-secondary) 140%); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 50px solid rgba(var(--pw-accent-rgb), .12); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 800; margin-bottom: .5rem; }
.page-hero p { color: rgba(255, 255, 255, .78); max-width: 680px; margin: 0; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .5); --bs-breadcrumb-item-active-color: var(--pw-accent); font-size: .88rem; margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: rgba(255, 255, 255, .8); }

/* ---------- Kartu umum ---------- */
.pw-card { background: #fff; border: 1px solid var(--pw-border); border-radius: var(--pw-radius); transition: transform .25s, box-shadow .25s, border-color .25s; height: 100%; }
.pw-card:hover { transform: translateY(-6px); box-shadow: var(--pw-shadow-lg); border-color: transparent; }
.pw-card .thumb { position: relative; overflow: hidden; border-radius: var(--pw-radius) var(--pw-radius) 0 0; aspect-ratio: 16/10; background: var(--pw-bg-light); }
.pw-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pw-card:hover .thumb img { transform: scale(1.06); }
.pw-card .body { padding: 1.4rem 1.5rem 1.5rem; }
.pw-card h3, .pw-card .h5 { font-size: 1.15rem; margin-bottom: .5rem; }
.pw-card h3 a { color: var(--pw-primary); }
.pw-card h3 a:hover { color: var(--pw-secondary); }
.pw-card .meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .82rem; color: var(--pw-muted); }
.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .7rem; font-size: .75rem; font-weight: 600; border-radius: 50rem; background: rgba(var(--pw-secondary-rgb), .09); color: var(--pw-secondary); }
.chip-accent { background: rgba(var(--pw-accent-rgb), .18); color: #7a5a17; }
.chip-light { background: var(--pw-bg-light); color: var(--pw-text); border: 1px solid var(--pw-border); }
.chip-float { position: absolute; top: 1rem; left: 1rem; background: rgba(255, 255, 255, .95); color: var(--pw-primary); box-shadow: 0 4px 12px rgba(0, 0, 0, .08); }
.tech-list { display: flex; flex-wrap: wrap; gap: .35rem; }
.tech-list span { font-size: .74rem; padding: .2rem .6rem; border-radius: .4rem; background: var(--pw-bg-light); border: 1px solid var(--pw-border); color: #475569; font-weight: 500; }

/* ---------- Statistik ---------- */
.stats { background: var(--pw-primary); color: #fff; border-radius: 1.5rem; padding: 2.5rem 1rem; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; left: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(var(--pw-accent-rgb), .12); }
.stat { text-align: center; position: relative; }
.stat .num { font-family: var(--pw-font-head); font-size: clamp(2rem, 1.5rem + 1.5vw, 2.8rem); font-weight: 800; color: #fff; line-height: 1; }
.stat .num sup { color: var(--pw-accent); font-size: .55em; top: -.8em; }
.stat .lbl { color: rgba(255, 255, 255, .72); font-size: .9rem; margin-top: .5rem; }
@media (min-width: 768px) { .stat + .stat { border-left: 1px solid rgba(255, 255, 255, .12); } }

/* ---------- Skill ---------- */
.skill-card { padding: 1.5rem; }
.skill-card .ic { width: 52px; height: 52px; border-radius: 14px; background: rgba(var(--pw-secondary-rgb), .1); color: var(--pw-secondary); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1rem; }
.skill-bar { margin-bottom: .9rem; }
.skill-bar .top { display: flex; justify-content: space-between; font-size: .86rem; font-weight: 500; margin-bottom: .35rem; }
.skill-bar .track { height: 7px; border-radius: 10px; background: var(--pw-bg-light); overflow: hidden; }
.skill-bar .fill { height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, var(--pw-secondary), var(--pw-primary)); transition: width 1.4s cubic-bezier(.2, .8, .2, 1); }

/* ---------- Layanan ---------- */
.service-card { padding: 2rem 1.75rem; position: relative; overflow: hidden; }
.service-card .ic { width: 60px; height: 60px; border-radius: 16px; background: var(--pw-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 1.25rem; transition: background .25s; }
.service-card:hover .ic { background: var(--pw-accent); color: #1c1606; }
.service-card .no { position: absolute; right: 1.5rem; top: 1.25rem; font-family: var(--pw-font-head); font-size: 2.4rem; font-weight: 800; color: rgba(var(--pw-primary-rgb), .06); }

/* ---------- Filter ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-bar button { border: 1px solid var(--pw-border); background: #fff; color: var(--pw-text); border-radius: 50rem; padding: .45rem 1.1rem; font-size: .88rem; font-weight: 500; transition: all .2s; }
.filter-bar button:hover { border-color: var(--pw-primary); color: var(--pw-primary); }
.filter-bar button.active { background: var(--pw-primary); border-color: var(--pw-primary); color: #fff; }
.is-hidden { display: none !important; }

/* ---------- Timeline ---------- */
.tl { position: relative; padding-left: 2rem; list-style: none; margin: 0; }
.tl::before { content: ""; position: absolute; left: 7px; top: .4rem; bottom: .4rem; width: 2px; background: linear-gradient(var(--pw-accent), rgba(var(--pw-accent-rgb), .1)); }
.tl > li { position: relative; padding-bottom: 2rem; }
.tl > li:last-child { padding-bottom: 0; }
.tl > li::before { content: ""; position: absolute; left: -2rem; top: .35rem; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--pw-primary); }
.tl > li.current::before { border-color: var(--pw-accent); box-shadow: 0 0 0 5px rgba(var(--pw-accent-rgb), .2); }
.tl .period { font-size: .8rem; font-weight: 700; color: var(--pw-secondary); text-transform: uppercase; letter-spacing: .06em; }
.tl h3 { font-size: 1.15rem; margin: .25rem 0; }
.tl .org { color: var(--pw-muted); font-size: .92rem; }
.tl ul.ach { padding-left: 1.1rem; margin: .5rem 0 0; font-size: .92rem; }
.tl ul.ach li::marker { color: var(--pw-accent); }

/* ---------- Testimoni ---------- */
.testi { padding: 2rem; position: relative; }
.testi .quote { position: absolute; right: 1.5rem; top: 1.25rem; font-size: 3rem; color: rgba(var(--pw-accent-rgb), .35); line-height: 1; }
.testi p { font-size: 1rem; color: #334155; }
.stars { color: var(--pw-accent); letter-spacing: .1em; font-size: .9rem; }
.pw-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .95rem; flex-shrink: 0; }
.pw-avatar.lg { width: 84px; height: 84px; font-size: 1.4rem; }
.swiper-pagination-bullet-active { background: var(--pw-primary) !important; }
.swiper { padding-bottom: 3rem !important; }
.swiper-slide { height: auto !important; }

/* ---------- Klien ---------- */
.client-logo { display: flex; align-items: center; justify-content: center; height: 86px; padding: 1rem; border-radius: var(--pw-radius-sm); background: #fff; border: 1px solid var(--pw-border); filter: grayscale(1); opacity: .7; transition: all .25s; }
.client-logo:hover { filter: none; opacity: 1; box-shadow: var(--pw-shadow); }
.client-logo img { max-height: 54px; }

/* ---------- Galeri (masonry) ---------- */
.masonry { columns: 3 280px; column-gap: 1rem; }
.masonry .m-item { break-inside: avoid; margin-bottom: 1rem; position: relative; border-radius: var(--pw-radius-sm); overflow: hidden; cursor: zoom-in; display: block; background: var(--pw-bg-light); }
.masonry .m-item img { width: 100%; display: block; transition: transform .5s; }
.masonry .m-item.tall img { aspect-ratio: 4/5; object-fit: cover; }
.masonry .m-item:hover img { transform: scale(1.05); }
.masonry .m-item .cap { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem .9rem; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(10, 25, 45, .85)); opacity: 0; transition: opacity .25s; }
.masonry .m-item:hover .cap, .masonry .m-item:focus .cap { opacity: 1; }
.m-item .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: #fff; text-shadow: 0 4px 20px rgba(0, 0, 0, .4); }

/* ---------- Lightbox ---------- */
.pw-lb { position: fixed; inset: 0; z-index: 2000; background: rgba(8, 18, 32, .94); display: none; align-items: center; justify-content: center; padding: 3.5rem 4rem; }
.pw-lb.open { display: flex; }
.pw-lb figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.pw-lb img { max-height: 78vh; border-radius: .6rem; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.pw-lb .vid { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: .6rem; overflow: hidden; }
.pw-lb .vid iframe { width: 100%; height: 100%; border: 0; }
.pw-lb figcaption { color: rgba(255, 255, 255, .8); margin-top: 1rem; font-size: .92rem; }
.pw-lb button { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; }
.pw-lb button:hover { background: var(--pw-accent); color: #1c1606; }
.pw-lb .x { top: 1rem; right: 1rem; }
.pw-lb .prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.pw-lb .next { right: 1rem; top: 50%; transform: translateY(-50%); }
.pw-lb .count { position: absolute; top: 1.5rem; left: 1.5rem; color: rgba(255, 255, 255, .7); font-size: .85rem; }
@media (max-width: 575.98px) { .pw-lb { padding: 3.5rem .75rem; } .pw-lb .prev, .pw-lb .next { top: auto; bottom: 1rem; transform: none; } }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, var(--pw-primary), var(--pw-secondary)); border-radius: 1.75rem; color: #fff; padding: 4rem 2rem; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; border: 50px solid rgba(var(--pw-accent-rgb), .18); }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 800; }
.cta p { color: rgba(255, 255, 255, .8); }

/* ---------- Footer ---------- */
.pw-footer { background: #0c2a49; color: rgba(255, 255, 255, .72); padding: 5rem 0 0; font-size: .93rem; }
.pw-footer h2, .pw-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.pw-footer a { color: rgba(255, 255, 255, .72); }
.pw-footer a:hover { color: var(--pw-accent); }
.pw-footer ul { list-style: none; padding: 0; margin: 0; }
.pw-footer li { margin-bottom: .55rem; }
.pw-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3.5rem; padding: 1.4rem 0; font-size: .85rem; }
.pw-footer .contact li { display: flex; gap: .7rem; }
.pw-footer .contact i { color: var(--pw-accent); }

/* ---------- Floating ---------- */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1040; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; box-shadow: 0 10px 30px rgba(37, 211, 102, .45); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-float.left { right: auto; left: 1.25rem; }
.wa-float .tip { position: absolute; right: 70px; white-space: nowrap; background: #fff; color: var(--pw-text); font-size: .82rem; font-weight: 600; padding: .45rem .8rem; border-radius: .6rem; box-shadow: var(--pw-shadow); opacity: 0; pointer-events: none; transition: opacity .2s; }
.wa-float:hover .tip { opacity: 1; }
.to-top { position: fixed; right: 1.6rem; bottom: 5.6rem; z-index: 1039; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--pw-primary); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .25s; box-shadow: var(--pw-shadow); }
.to-top.show { opacity: 1; visibility: visible; }

/* ---------- Artikel ---------- */
.prose { font-size: 1.07rem; line-height: 1.85; color: #334155; }
.prose h2 { font-size: 1.55rem; margin: 2.4rem 0 1rem; }
.prose h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.prose p { margin-bottom: 1.25rem; }
.prose .lead { font-size: 1.2rem; color: var(--pw-text); }
.prose pre { background: #0f1c2e; color: #e2e8f0; padding: 1.25rem; border-radius: .8rem; font-size: .88rem; overflow-x: auto; }
.prose blockquote { border-left: 4px solid var(--pw-accent); padding: .5rem 0 .5rem 1.25rem; font-style: italic; color: var(--pw-primary); }
.prose img { border-radius: .8rem; }
.prose ul li::marker { color: var(--pw-accent); }
.toc { background: var(--pw-bg-light); border-radius: var(--pw-radius-sm); padding: 1.25rem; }
.toc ol { padding-left: 1.1rem; margin: 0; font-size: .92rem; }
.toc a { color: var(--pw-text); }
.toc a.active, .toc a:hover { color: var(--pw-secondary); font-weight: 600; }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--pw-border); display: inline-flex; align-items: center; justify-content: center; color: var(--pw-primary); background: #fff; }
.share a:hover, .share button:hover { background: var(--pw-primary); color: #fff; }
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--pw-accent); z-index: 1100; width: 0; }

/* ---------- Sidebar & widget ---------- */
.widget { background: #fff; border: 1px solid var(--pw-border); border-radius: var(--pw-radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.widget h2, .widget h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget .cat-list a { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px dashed var(--pw-border); color: var(--pw-text); font-size: .92rem; }
.widget .cat-list a:hover { color: var(--pw-secondary); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-cloud a { font-size: .8rem; padding: .3rem .75rem; border-radius: 50rem; background: var(--pw-bg-light); color: var(--pw-text); border: 1px solid var(--pw-border); }
.tag-cloud a:hover, .tag-cloud a.active { background: var(--pw-primary); color: #fff; border-color: var(--pw-primary); }
.mini-post { display: flex; gap: .8rem; padding: .6rem 0; }
.mini-post img { width: 76px; height: 56px; object-fit: cover; border-radius: .5rem; flex-shrink: 0; }
.mini-post a { color: var(--pw-primary); font-weight: 600; font-size: .9rem; line-height: 1.35; }

/* ---------- Form ---------- */
.form-control, .form-select { border-radius: .7rem; padding: .7rem 1rem; border-color: #d9e1ec; }
.form-control:focus, .form-select:focus { border-color: var(--pw-secondary); box-shadow: 0 0 0 .2rem rgba(var(--pw-secondary-rgb), .15); }
.form-label { font-weight: 600; font-size: .88rem; color: var(--pw-primary); }
.pagination { --bs-pagination-color: var(--pw-primary); --bs-pagination-active-bg: var(--pw-primary); --bs-pagination-active-border-color: var(--pw-primary); --bs-pagination-border-radius: .6rem; gap: .3rem; }
.pagination .page-link { border-radius: .6rem !important; }
.accordion-button:not(.collapsed) { background: rgba(var(--pw-secondary-rgb), .06); color: var(--pw-primary); box-shadow: none; }
.accordion-button { font-weight: 600; font-family: var(--pw-font-head); color: var(--pw-primary); }
.accordion-item { border-radius: var(--pw-radius-sm) !important; overflow: hidden; border: 1px solid var(--pw-border); margin-bottom: .75rem; }

/* ---------- Lain-lain ---------- */
.icon-box { width: 48px; height: 48px; border-radius: 14px; background: rgba(var(--pw-secondary-rgb), .1); color: var(--pw-secondary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; padding: .85rem 0; border-bottom: 1px solid var(--pw-border); }
.info-list li:last-child { border-bottom: 0; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--pw-muted); }
.empty i { font-size: 2.5rem; color: #cbd5e1; display: block; margin-bottom: .5rem; }
.divider-accent { width: 60px; height: 4px; border-radius: 4px; background: var(--pw-accent); }
.editorial-num { font-family: var(--pw-font-head); font-weight: 800; font-size: 4rem; color: rgba(var(--pw-primary-rgb), .08); line-height: 1; }
.cert-card .thumb { aspect-ratio: 16/11; }
mark, .mark { background: rgba(var(--pw-accent-rgb), .35); padding: 0 .15em; border-radius: .2em; }
@media print { .pw-nav, .pw-footer, .wa-float, .to-top, .no-print { display: none !important; } body { font-size: 12px; } .section { padding: 1.5rem 0; } }

/* ---------- Kotak cari & widget CTA (dipakai blog, portofolio, legal) ---------- */
.search-box { position: relative; }
.search-box input { padding-right: 3rem; }
.search-box button { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); border: 0; width: 38px; height: 38px; border-radius: .55rem; background: var(--pw-primary); color: #fff; }
.author-mini { text-align: center; }
.author-mini img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 4px solid var(--pw-bg-light); }
.widget-cta { background: linear-gradient(135deg, var(--pw-primary), var(--pw-secondary)); color: #fff; border: 0; }
.widget-cta h2, .widget-cta h3 { color: #fff; }
.widget-cta p { color: rgba(255, 255, 255, .8); font-size: .9rem; }

/* Navbar di laptop 1200–1399px: cegah teks menu turun baris */
.pw-menu > li > a, .pw-nav .pw-cta, .pw-brand strong { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .pw-brand small { display: none; }
  .pw-menu > li > a { padding: .5rem .55rem; font-size: .88rem; }
}
