/* ==========================================================================
   BB Pasifik — lapisan desain modern di atas Business Theme #2
   Palet & gaya diambil dari landing page index.html BBP.
   ========================================================================== */
:root {
	--bbp-navy: #06233f;
	--bbp-blue: #0b6fb3;
	--bbp-sky: #e9f6ff;
	--bbp-cyan: #34d6ff;
	--bbp-orange: #ff9f1c;
	--bbp-ink: #172033;
	--bbp-muted: #687287;
	--bbp-line: rgba(6, 35, 63, 0.12);
	--bbp-shadow: 0 22px 70px rgba(6, 35, 63, 0.14);
	--bbp-radius: 22px;
}

html { scroll-behavior: smooth; }
body { color: var(--bbp-ink); background-color: #f7fbff; line-height: 1.6; font-size: 15px; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5 { font-family: inherit; color: var(--bbp-navy); }

.bbp-wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

/* ---------- Tombol ---------- */
.bbp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border: 0; border-radius: 999px; padding: 13px 22px; font-weight: 800; font-size: 15px;
	cursor: pointer; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease;
}
.bbp-btn:hover { transform: translateY(-2px); }
a.bbp-btn-primary, .bbp-btn-primary, a.bbp-btn-primary:visited {
	color: #fff; background: linear-gradient(135deg, var(--bbp-orange), #ff7a00);
	box-shadow: 0 14px 30px rgba(255, 127, 0, .28);
}
a.bbp-btn-primary:hover { color: #fff; }
a.bbp-btn-secondary, a.bbp-btn-secondary:visited {
	color: var(--bbp-navy); background: #fff; border: 1px solid var(--bbp-line);
	box-shadow: 0 10px 24px rgba(6, 35, 63, .08);
}

/* ---------- Top bar & header ---------- */
.bbp-topbar { background: var(--bbp-navy); color: rgba(255,255,255,.9); font-size: 13px; }
.bbp-topbar a, .bbp-topbar a:visited { color: #fff; }
.bbp-topbar-inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; padding: 6px 0; }

#mainheader { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(14px); border-bottom: 1px solid var(--bbp-line); }
.admin-bar #mainheader { top: 32px; }
.bbp-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bbp-brand { display: flex; align-items: center; gap: 12px; color: var(--bbp-navy) !important; font-weight: 800; }
.bbp-brand img { max-height: 56px; width: auto; }
.bbp-brand-mark {
	width: 46px; height: 46px; border-radius: 14px; flex: 0 0 auto;
	background: linear-gradient(135deg, var(--bbp-navy), var(--bbp-blue)); color: #fff;
	display: grid; place-items: center; font-size: 15px; letter-spacing: .02em;
	box-shadow: 0 12px 30px rgba(11, 111, 179, .28);
}
.bbp-brand-text { font-size: 21px; letter-spacing: -.03em; line-height: 1.1; }
.bbp-brand-text small { display: block; font-size: 12px; font-weight: 600; color: var(--bbp-muted); letter-spacing: 0; }

/* Menu utama (SmartMenus) */
#menubg { border-radius: 14px 14px 0 0; }
#main-menu { margin: 0; }
#main-menu > li > a { font-weight: 600; font-size: 14px; }
#main-menu > li > a:hover, #main-menu > li > a:focus, #main-menu > li > a.highlighted, #main-menu > li > a:active { color: #fff; background: rgba(255,255,255,.14); }
#main-menu ul a:hover, #main-menu ul a.highlighted { color: var(--bbp-blue); background: var(--bbp-sky); }
#bbp-menu-toggle { display: none; }

/* ---------- Hero (dipakai jika slider kosong) ---------- */
.bbp-hero {
	position: relative; overflow: hidden; padding: 80px 0 64px;
	background:
		radial-gradient(circle at 18% 18%, rgba(52,214,255,.35), transparent 30%),
		radial-gradient(circle at 88% 22%, rgba(255,159,28,.25), transparent 25%),
		linear-gradient(135deg, #eef9ff 0%, #f9fcff 48%, #fff 100%);
}
.bbp-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; }
.bbp-eyebrow { display: inline-flex; padding: 8px 12px; border-radius: 999px; color: var(--bbp-blue); background: rgba(11,111,179,.08); font-weight: 800; font-size: 13px; margin-bottom: 18px; }
.bbp-hero h1 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1; letter-spacing: -.06em; margin: 0 0 22px; font-weight: 800; }
.bbp-hero h1 span { color: var(--bbp-blue); }
.bbp-hero p { color: var(--bbp-muted); font-size: 18px; max-width: 600px; margin-bottom: 28px; }
.bbp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.bbp-hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bbp-hero-points div { background: rgba(255,255,255,.75); border: 1px solid var(--bbp-line); border-radius: 16px; padding: 13px; color: #445066; font-size: 13px; font-weight: 700; }

.bbp-visual {
	position: relative; min-height: 480px; border-radius: 32px; padding: 26px; overflow: hidden; isolation: isolate;
	background: linear-gradient(160deg, var(--bbp-navy), #0c4779 60%, #0aa6d6); box-shadow: var(--bbp-shadow);
}
.bbp-visual::before {
	content: ""; position: absolute; inset: 0; z-index: -2; opacity: .45; background-size: 38px 38px;
	background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
}
.bbp-visual::after { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; bottom: -160px; z-index: -1; border-radius: 50%; background: rgba(52,214,255,.28); }
.bbp-note { position: relative; z-index: 2; max-width: 300px; color: #fff; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.2); border-radius: 20px; padding: 18px; backdrop-filter: blur(16px); }
.bbp-note b { display: block; font-size: 18px; margin-bottom: 6px; }
.bbp-note span { color: rgba(255,255,255,.82); font-size: 14px; }
.bbp-scene { position: absolute; left: 34px; right: 34px; bottom: 40px; height: 270px; }
.bbp-sun { position: absolute; top: 16px; right: 30px; width: 90px; height: 90px; border-radius: 50%; background: linear-gradient(135deg, #ffe19c, var(--bbp-orange)); box-shadow: 0 0 60px rgba(255,159,28,.55); }
.bbp-ship { position: absolute; left: 6%; right: 6%; bottom: 86px; height: 120px; animation: bbp-bob 5s ease-in-out infinite; }
.bbp-hull { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: #fff; clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%); }
.bbp-boxes { position: absolute; left: 17%; right: 17%; bottom: 63px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bbp-boxes i { height: 38px; border-radius: 8px; background: var(--bbp-orange); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.bbp-boxes i:nth-child(2), .bbp-boxes i:nth-child(5) { background: var(--bbp-cyan); }
.bbp-boxes i:nth-child(3), .bbp-boxes i:nth-child(7) { background: #fff; }
.bbp-wave { position: absolute; left: -12%; right: -12%; height: 68px; border-radius: 50%; background: rgba(255,255,255,.24); }
.bbp-wave.one { bottom: 30px; }
.bbp-wave.two { bottom: 0; opacity: .55; transform: translateX(70px); }
@keyframes bbp-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .bbp-ship { animation: none; } html { scroll-behavior: auto; } }

/* Slider Nivo (jika diisi) */
.bbp-slider-wrap { padding: 24px 0; }
.bbp-slider-wrap .nivoSlider { border-radius: 24px; overflow: hidden; box-shadow: var(--bbp-shadow); }

/* ---------- Section & heading ---------- */
#mainhomepage { background: transparent; }
.bbp-section { padding: 72px 0; }
.bbp-section:nth-of-type(even) { background: #fff; }
.bbp-heading { max-width: 740px; margin-bottom: 32px; }
.bbp-heading.center { text-align: center; margin-left: auto; margin-right: auto; }
.bbp-heading h2, .bbp-highlight h2, .bbp-contact h2 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.08; letter-spacing: -.05em; margin: 0 0 12px; font-weight: 800; }
.bbp-heading p { color: var(--bbp-muted); font-size: 17px; }

.bbp-grid { display: grid; gap: 18px; }
.bbp-grid-2 { grid-template-columns: repeat(2, 1fr); }
.bbp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.bbp-grid-4 { grid-template-columns: repeat(4, 1fr); }

.bbp-card { background: #fff; border: 1px solid var(--bbp-line); border-radius: var(--bbp-radius); padding: 24px; box-shadow: 0 14px 45px rgba(6,35,63,.07); }
.bbp-card h3 { font-size: 19px; line-height: 1.25; margin: 0 0 8px; letter-spacing: -.02em; font-weight: 800; }
.bbp-card h3 a { color: var(--bbp-navy); }
.bbp-card p { color: var(--bbp-muted); font-size: 15px; margin-bottom: 10px; }
.bbp-card-img { display: block; width: 100%; border-radius: 14px; margin-bottom: 14px; aspect-ratio: 16/10; object-fit: cover; }
.bbp-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--bbp-sky); display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.bbp-more { font-weight: 700; font-size: 14px; }
.bbp-date, .bbp-meta { color: var(--bbp-muted); font-size: 13px; }

/* Alur kerja */
.bbp-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: center; }
.bbp-highlight { border-radius: 30px; background: linear-gradient(160deg, var(--bbp-navy), #0b5d95); color: #fff; padding: 34px; box-shadow: var(--bbp-shadow); }
.bbp-highlight h2 { color: #fff; }
.bbp-highlight p { color: rgba(255,255,255,.8); margin-bottom: 22px; }
.bbp-checks { list-style: none; margin: 0; display: grid; gap: 10px; }
.bbp-checks li { color: rgba(255,255,255,.92); font-weight: 600; }
.bbp-steps { display: grid; gap: 14px; }
.bbp-step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; background: #fff; border: 1px solid var(--bbp-line); border-radius: 20px; padding: 18px; }
.bbp-step-no { width: 48px; height: 48px; border-radius: 16px; background: var(--bbp-navy); color: #fff; display: grid; place-items: center; font-weight: 900; }
.bbp-step h3 { font-size: 18px; margin: 0 0 4px; font-weight: 800; }
.bbp-step p { color: var(--bbp-muted); margin: 0; }

/* Keunggulan */
.bbp-why { background: #fff; border: 1px solid var(--bbp-line); border-radius: 20px; padding: 22px; min-height: 150px; }
.bbp-why strong { display: block; color: var(--bbp-navy); font-size: 17px; margin-bottom: 8px; }
.bbp-why span { color: var(--bbp-muted); font-size: 14px; }

/* Testimoni */
.bbp-testimonial { display: flex; gap: 16px; align-items: flex-start; }
.bbp-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.bbp-testimonial cite { font-style: normal; font-weight: 700; color: var(--bbp-blue); }

/* Lightbox harus di atas header sticky & tombol WA */
.nivo-lightbox-overlay { z-index: 100000; }

/* Galeri */
.bbp-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.bbp-gallery img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }

/* ---------- Formulir penawaran ---------- */
.bbp-section.bbp-block_bbp_quote { background: radial-gradient(circle at 15% 20%, rgba(52,214,255,.23), transparent 32%), linear-gradient(180deg, #f7fbff, #edf8ff); }
.bbp-quote { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; background: #fff; border: 1px solid var(--bbp-line); border-radius: 32px; padding: 28px; box-shadow: var(--bbp-shadow); scroll-margin-top: 110px; }
.bbp-contact { border-radius: 24px; background: var(--bbp-navy); color: #fff; padding: 28px; }
.bbp-contact h2 { color: #fff; font-size: 32px; }
.bbp-contact p { color: rgba(255,255,255,.8); margin-bottom: 20px; }
.bbp-contact-lines { display: grid; gap: 12px; margin-top: 22px; }
.bbp-contact-lines div { padding: 13px; border-radius: 14px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.92); font-weight: 600; font-size: 14px; }
.bbp-contact-lines a, .bbp-contact-lines a:visited { color: #fff; }
.bbp-form { display: grid; gap: 14px; margin: 0; }
.bbp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bbp-form label { display: grid; gap: 6px; color: #3c485c; font-size: 14px; font-weight: 700; margin: 0; }
.bbp-form input, .bbp-form textarea {
	width: 100%; height: auto; margin: 0; border: 1px solid rgba(6,35,63,.14); background: #fbfdff; border-radius: 14px;
	padding: 13px 14px; font: inherit; font-weight: 400; color: var(--bbp-ink); box-shadow: none;
}
.bbp-form input:focus, .bbp-form textarea:focus { outline: none; border-color: rgba(11,111,179,.5); box-shadow: 0 0 0 4px rgba(11,111,179,.1); background: #fff; }
.bbp-form textarea { min-height: 110px; resize: vertical; }
#layanan, #proses, #keunggulan, #kontak { scroll-margin-top: 110px; }

/* ---------- Halaman / artikel ---------- */
.bbp-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding: 48px 0 64px; }
.bbp-content-layout.bbp-layout-left { grid-template-columns: 300px minmax(0, 1fr); }
.bbp-content-layout.bbp-layout-full { grid-template-columns: minmax(0, 1fr); }
.bbp-main { min-width: 0; }
.bbp-page-head { margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--bbp-line); }
.bbp-page-head h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -.04em; margin: 0 0 6px; font-weight: 800; }
.bbp-entry { font-size: 16px; }
.bbp-entry p { font-size: 16px; }
.bbp-featured-img img { border-radius: 18px; margin-bottom: 22px; }
.bbp-list-item { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--bbp-line); }
.bbp-list-item:not(.has-post-thumbnail) { grid-template-columns: 1fr; }
.bbp-list-item h2 { font-size: 22px; margin: 0 0 4px; letter-spacing: -.02em; }
.bbp-list-thumb img { border-radius: 14px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.bbp-aside .widget { background: #fff; border: 1px solid var(--bbp-line); border-radius: 18px; padding: 18px 20px; margin-bottom: 18px; }
.bbp-aside h4.title { margin-top: 0; }
.bbp-post-nav { display: flex; justify-content: space-between; gap: 16px; margin: 28px 0; font-weight: 600; }
.bbp-share { margin-top: 20px; color: var(--bbp-muted); }
.bbp-404 { text-align: center; padding: 90px 0; }
.bbp-404 form { max-width: 420px; margin: 24px auto 0; }
/* Form penawaran di dalam kolom konten (mis. halaman Kontak) → satu kolom */
.bbp-main .bbp-quote { grid-template-columns: 1fr; }
/* Widget blok WordPress di sidebar */
.bbp-aside h2, .bbp-aside .wp-block-heading { font-size: 18px; letter-spacing: -.01em; margin: 0 0 10px; }
.bbp-aside ul { margin-left: 0; list-style: none; }
.bbp-aside li { margin-bottom: 6px; font-size: 14px; }
.bbp-topbar-inner span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 300px; }
.bbp-404 .bbp-btn { margin: 6px; }

/* ---------- Footer ---------- */
#footer { padding: 46px 0 24px; background-image: none; }
.bbp-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
#footer h4.title { color: var(--bbp-orange); border-top: 0; border-bottom: 2px solid rgba(255,255,255,.15); }
#footer p, #footer li { color: rgba(255,255,255,.8); font-size: 14px; }
.bbp-copyright-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 6px 0; }
p.copyright { padding: 8px 0; margin: 0; }

/* Tombol WhatsApp melayang */
.bbp-wa-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 99; width: 58px; height: 58px; border-radius: 50%;
	display: grid; place-items: center; background: #25d366; color: #fff !important;
	box-shadow: 0 12px 28px rgba(0,0,0,.22); transition: transform .2s ease;
}
.bbp-wa-float:hover { transform: scale(1.07); }

/* ---------- Responsif ---------- */
@media (max-width: 920px) {
	.bbp-hero-grid, .bbp-split, .bbp-quote, .bbp-content-layout, .bbp-content-layout.bbp-layout-left { grid-template-columns: 1fr; }
	.bbp-visual { min-height: 420px; }
	.bbp-grid-3, .bbp-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.bbp-footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
	#bbp-menu-toggle {
		display: block; width: 100%; margin: 0 0 8px; padding: 11px 14px; border: 0; border-radius: 12px;
		background: var(--bbp-navy); color: #fff; font-weight: 800; text-align: left; cursor: pointer;
	}
	#main-menu { display: none; }
	#main-menu.bbp-open { display: block; }
	#menubg { background: none; border-radius: 0; }
	#main-menu.sm-simple { background: var(--bbp-navy); border-radius: 12px; overflow: hidden; }
	#mainheader { position: relative; }
	.bbp-header-inner { min-height: 64px; }
	.bbp-header-cta { display: none; }
}
@media (max-width: 620px) {
	.bbp-hero { padding: 48px 0 40px; }
	.bbp-hero-points, .bbp-grid-2, .bbp-grid-3, .bbp-grid-4, .bbp-form-row, .bbp-footer-cols { grid-template-columns: 1fr; }
	.bbp-visual { min-height: 420px; border-radius: 24px; }
	.bbp-scene { left: 18px; right: 18px; bottom: 18px; }
	.bbp-section { padding: 52px 0; }
	.bbp-quote, .bbp-highlight, .bbp-contact { border-radius: 22px; padding: 20px; }
	.bbp-hero-actions .bbp-btn, .bbp-form .bbp-btn { width: 100%; }
	.bbp-list-item { grid-template-columns: 1fr; }
	.bbp-topbar-inner span:first-child { display: none; }
}
