/* ============================================================
   xtraBAF - Pure CSS (No Framework)
   Menggantikan Tailwind CSS dengan CSS native
   Font: Manrope (body) + Plus Jakarta Sans (heading) via Google Fonts
   ============================================================ */

:root {
    --primary: #005EE9;
    --primary-hover: #004BB5;
    --dark: #102c52;
    --text-dark: #364151;
    --accent: #F4B034;
    --accent-hover: #fbbf24;
    --light-bg: #F9FAFB;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-border: #e5e7eb;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--text-dark);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 4.5rem; /* ruang untuk bottom-nav mobile */
}

h1, h2, h3, h4, .font-heading { font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif; }

img { max-width: 100%; display: inline-block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

.container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 640px) {
    .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
    .container { padding-left: 2rem; padding-right: 2rem; }
}

@media (min-width: 768px) {
    body { padding-bottom: 0; }
}

/* ---------- Icons (inline SVG sprite) ---------- */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: -0.125em;
    flex-shrink: 0;
}
.icon-accent { color: var(--accent); }
.icon-green { color: #4ade80; }
.icon-primary { color: var(--primary); }

/* ============================================================
   TOMBOL
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.25rem;
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    transition: background-color .3s, color .3s, box-shadow .3s;
    cursor: pointer;
}
.btn-white  { background: #fff; color: var(--dark); }
.btn-white:hover { background: #f3f4f6; }
.btn-primary { background: var(--primary); color: #fff; border-radius: 0.25rem; padding: 0.5rem 1.25rem; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-accent { background: var(--accent); color: var(--dark); border-radius: 0.25rem; padding: 0.5rem 1.25rem; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-accent-lg:hover { background: var(--accent-hover); }
.btn-dark { background: var(--dark); color: #fff; border-radius: 0.25rem; }
.btn-dark:hover { background: var(--gray-800); }
.btn-green { background: var(--green-600); color: #fff; border-radius: 0.25rem; }
.btn-green:hover { background: var(--green-700); }
.btn-outline {
    background: var(--dark);
    color: #fff;
    border: 1px solid #fff;
    border-radius: 0.25rem;
}
.btn-outline:hover { background: #fff; color: var(--dark); }
.btn-block { width: 100%; display: flex; }
.btn .icon-lg { font-size: 1.125rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--dark);
    color: #fff;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.logo .logo-accent { color: var(--accent); }

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
    font-weight: 500;
    font-size: 0.875rem;
}
.nav-link {
    position: relative;
    color: #fff;
    background: none;
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color .15s;
}
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: width .3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -1rem;
    padding-top: 1rem;
    width: 14rem;
    z-index: 50;
    display: none;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-card {
    background: #fff;
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    padding: 0.5rem 0;
    outline: 1px solid rgb(0 0 0 / 0.05);
}
.dropdown-card a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--gray-700);
    transition: background .15s, color .15s;
}
.dropdown-card a:hover { background: #f3f4f6; color: var(--primary); }
.dropdown-card a.current { color: var(--primary); font-weight: 700; background: #f9fafb; }

.menu-btn {
    display: inline-flex;
    background: none;
    border: none;
    color: #fff;
    padding: 0.5rem;
    font-size: 1.5rem;
    transition: color .15s;
}
.menu-btn:hover { color: var(--accent); }

.mobile-menu {
    display: none;
    background: var(--dark);
    border-top: 1px solid var(--gray-700);
}
.mobile-menu.open { display: block; }
.mobile-menu-inner { padding: 0.5rem 0.5rem 0.75rem; }
.mobile-menu-inner > a,
.mobile-submenu-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background: none;
    border: none;
    text-align: left;
    transition: color .15s, background .15s;
}
.mobile-menu-inner > a:hover, .mobile-submenu-btn:hover { color: var(--accent); background: var(--gray-800); }
.mobile-menu-inner > a.current { color: var(--accent); background: var(--gray-800); }
.mobile-submenu { display: none; }
.mobile-submenu.open { display: block; }
.mobile-submenu-inner {
    padding: 0.5rem 0 0.5rem 1.5rem;
    background: var(--gray-800);
    border-radius: 0.375rem;
    margin-top: 0.25rem;
}
.mobile-submenu-inner a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-300);
    transition: color .15s;
}
.mobile-submenu-inner a:hover { color: #fff; }
.mobile-submenu-inner a.current { color: var(--primary); }

@media (min-width: 768px) {
    .nav-desktop { display: flex; }
    .menu-btn { display: none; }
    .mobile-menu { display: none !important; }
}

/* ============================================================
   HERO SLIDER (Beranda)
   ============================================================ */
.hero {
    position: relative;
    background: var(--dark);
    color: #fff;
    overflow: hidden;
    width: 100%;
}
.deco-1 {
    position: absolute;
    top: 0; right: 0;
    width: 18rem; height: 18rem;
    background: #1e40af;
    opacity: .3;
    border-radius: 50%;
    transform: translate(33.33%, -33.33%);
    pointer-events: none;
}
.deco-2 {
    position: absolute;
    bottom: 0; left: 50%;
    width: 10rem; height: 10rem;
    background: var(--accent);
    opacity: .1;
    border-radius: 50%;
    transform: translateY(50%);
    pointer-events: none;
}
.hero-track {
    position: relative;
    display: grid;
    width: 100%;
    overflow: hidden;
}
.hero-slide {
    grid-area: 1 / 1;
    opacity: 0;
    transition: opacity .5s ease;
    pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }

.hero-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 300px;
    border: 1px solid var(--accent);
    border-radius: 2rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    margin: 1.5rem 0;
}
.hero-text { width: 100%; display: flex; flex-direction: column; justify-content: center; text-align: left; z-index: 10; }
.hero-text h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    line-height: 1.1;
}
.hero-text h1 .hl { color: var(--accent); }
.hero-text p {
    color: #f3f4f6;
    font-size: 0.875rem;
    line-height: 1.625;
    margin-bottom: 2rem;
    max-width: 28rem;
}
.hero-img {
    width: 100%;
    max-width: 32rem;
    object-fit: contain;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 10;
    margin-top: 1.5rem;
}
@media (min-width: 768px) {
    .hero-card { flex-direction: row; min-height: 360px; padding: 2.5rem; margin: 2.5rem 0; }
    .hero-text { width: 50%; }
    .hero-img { width: 50%; margin-top: 0; }
    .hero-text h1 { font-size: 3rem; }
    .hero-text p { font-size: 1rem; }
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem; height: 2.5rem;
    border-radius: 50%;
    border: none;
    background: rgb(0 0 0 / 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    z-index: 20;
    transition: background .3s, opacity .3s;
    opacity: 0;
}
.slider-arrow:hover { background: rgb(0 0 0 / 0.7); }
.slider-arrow.prev { left: 0.5rem; }
.slider-arrow.next { right: 0.5rem; }
.hero:hover .slider-arrow { opacity: 1; }
@media (min-width: 768px) {
    .slider-arrow.prev { left: 1.5rem; }
    .slider-arrow.next { right: 1.5rem; }
}

.slider-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}
.dot {
    width: 0.75rem; height: 0.75rem;
    border-radius: 50%;
    border: none;
    background: rgb(255 255 255 / 0.5);
    transition: background .3s;
    padding: 0;
}
.dot.on { background: #fff; }

/* ============================================================
   SEKSI UMUM
   ============================================================ */
.section { padding: 3.5rem 0; }
.section.bg-white { background: #fff; }
.section.bg-light { background: var(--light-bg); }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
@media (min-width: 768px) {
    .section-title { font-size: 1.875rem; }
}
.section-rule {
    height: 4px;
    width: 4rem;
    background: var(--primary);
    border-radius: 999px;
    margin: 0 auto;
}
.section-rule.w-20 { width: 5rem; }

.txt-center { text-align: center; }
.txt-justify { text-align: justify; }

/* ---------- Grid helper ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-c3 { grid-template-columns: 1fr; }
.grid-c4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
    .grid-c3 { grid-template-columns: repeat(3, 1fr); }
    .grid-c4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Kartu layanan ---------- */
.card {
    border: 1px solid var(--gray-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow .3s;
}
.card:hover { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.card p {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.card-dark {
    background: var(--dark);
    border: none;
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    color: #fff;
}
.card-dark h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.card-dark p { color: var(--gray-300); font-size: 0.875rem; margin-bottom: 1rem; flex-grow: 0; }

/* ---------- Langkah pengajuan & fitur ---------- */
.step-icon {
    width: 80px; height: 80px;
    background: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    flex-shrink: 0;
}
.step-icon.lg { width: 96px; height: 96px; margin-bottom: 1rem; }
.step-icon img { width: 2.5rem; height: 2.5rem; filter: invert(1) brightness(2); }
.step-icon.lg img { width: 3rem; height: 3rem; }
.steps { text-align: center; }
.step { display: flex; flex-direction: column; align-items: center; }
.step-num { font-size: 0.75rem; color: var(--gray-400); margin-bottom: 0.25rem; }
.step-title { font-size: 0.875rem; font-weight: 700; color: var(--dark); }
.feature { display: flex; flex-direction: column; align-items: center; }
.feature h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.feature p { color: var(--gray-500); font-size: 0.875rem; }

/* ---------- Banner info (Proses Cepat, Angsuran Tepat) ---------- */
.band { background: #eff6ff; }
.band-inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: end;
}
.band-text { padding: 3.5rem 0; }
.band-text h2 { font-size: 1.5rem; font-weight: 700; color: var(--dark); margin-bottom: 1rem; }
.band-text p { color: var(--gray-500); font-size: 0.875rem; line-height: 1.625; margin-bottom: 1.5rem; }
.band-img { display: flex; justify-content: flex-end; align-items: flex-end; }
.band-img img { width: 100%; object-fit: cover; object-position: bottom; }
@media (min-width: 768px) {
    .band-inner { grid-template-columns: repeat(2, 1fr); }
    .band-text { padding-right: 2rem; }
    .band-text h2 { font-size: 1.875rem; }
    .band-text p { font-size: 1rem; }
    .band-img img { max-width: 18rem; }
}

/* ---------- Profil perusahaan ---------- */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}
.profile-text p { color: var(--gray-500); line-height: 1.625; font-size: 0.875rem; text-align: justify; }
.video {
    border-radius: 0.75rem;
    overflow: hidden;
    background: #111827;
    aspect-ratio: 16 / 9;
    position: relative;
}
.video iframe {
    width: 100%;
    height: 100%;
    min-height: 220px;
    border: 0;
    border-radius: 0.75rem;
    display: block;
}
@media (min-width: 1024px) {
    .profile-grid { grid-template-columns: repeat(2, 1fr); }
    .profile-text p { font-size: 1rem; }
}

/* ---------- CTA band kuning ---------- */
.cta-band { background: var(--accent); padding: 2rem 0; }
.cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.cta-title {
    color: var(--dark);
    font-weight: 700;
    font-size: 1.125rem;
    text-align: center;
}
.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .cta-inner { flex-direction: row; }
    .cta-title { font-size: 1.25rem; text-align: left; }
    .cta-actions { flex-direction: row; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--dark);
    color: var(--gray-300);
    padding: 3rem 0 1.5rem;
    border-top: 4px solid var(--accent);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.footer-col.span-2 { grid-column: span 2; }
@media (min-width: 768px) {
    .footer-col.span-2 { grid-column: span 1; }
}
.footer-col h3 { font-weight: 700; color: #fff; font-size: 1rem; margin-bottom: 0.75rem; }
.footer-col h3 .logo-accent { color: var(--accent); }
.footer-rule { height: 2px; width: 2.5rem; background: var(--accent); margin-bottom: 0.75rem; }
.footer-about { font-size: 0.75rem; line-height: 1.625; color: var(--gray-400); }
.footer-contact { margin-top: 0.75rem; display: grid; gap: 0.5rem; font-size: 0.75rem; }
.footer-contact li { display: flex; align-items: center; gap: 0.5rem; }
.footer-links { display: grid; gap: 0.5rem; font-size: 0.75rem; color: var(--gray-400); }
.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color .15s;
}
.footer-links a:hover { color: var(--accent); }
.footer-links a.current { color: var(--primary); font-weight: 700; }
.footer-links .icon { font-size: 0.75rem; }
.footer-mitra { font-size: 0.75rem; display: grid; gap: 0.25rem; }
.footer-mitra .name { font-weight: 700; color: #fff; }
.footer-mitra .id { color: var(--gray-400); }
.social-row { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.social-btn {
    width: 2.25rem; height: 2.25rem;
    border-radius: 50%;
    background: var(--gray-700);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    transition: background .15s;
}
.social-btn.hov-primary:hover { background: var(--primary); }
.social-btn.hov-green:hover { background: var(--green-500); }
.footer-ojk { font-size: 0.75rem; color: var(--gray-400); line-height: 1.625; }
.copyright { border-top: 1px solid var(--gray-800); padding-top: 1.25rem; text-align: center; }
.copyright p { font-size: 0.75rem; color: var(--gray-500); }

/* ============================================================
   TOMBOL MELAYANG
   ============================================================ */
.fabs {
    position: fixed;
    bottom: 5rem;
    right: 1rem;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
}
@media (min-width: 768px) {
    .fabs { bottom: 2rem; right: 1.5rem; }
}
.fab {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 999px;
    padding: 0.375rem;
    padding-right: 1rem;
    box-shadow: 0 4px 20px rgb(0 0 0 / 0.15);
    border: 1px solid #f3f4f6;
    transition: transform .15s;
}
.fab:active { transform: scale(0.95); }
.fab:hover { transform: scale(1.05); }
.fab-icon {
    background: #eff6ff;
    width: 2.25rem; height: 2.25rem;
    border-radius: 50%;
    margin-right: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.06);
    font-size: 1rem;
}
.fab-icon img { width: 1.25rem; height: 1.25rem; }
.fab span { font-size: 0.8125rem; font-weight: 700; color: var(--dark); }
.fab:hover span { color: var(--primary); }
.fab-wa {
    background: linear-gradient(to right, #4ade80, var(--green-500));
    padding-right: 1.25rem;
    box-shadow: 0 4px 20px rgb(34 197 94 / 0.4);
    border: none;
}
.fab-wa .fab-icon { background: rgb(255 255 255 / 0.2); color: #fff; font-size: 1.25rem; }
.fab-wa span { color: #fff; }
.fab-wa:hover span { color: #fff; }

/* ---------- Bottom nav (mobile) ---------- */
.bottom-nav {
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid var(--gray-border);
    z-index: 60;
    display: flex;
    box-shadow: 0 -2px 10px rgb(0 0 0 / 0.1);
}
.bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.625rem;
    transition: background .15s;
}
.bottom-nav a:hover { background: #f9fafb; }
.bottom-nav a:first-child { border-right: 1px solid var(--gray-border); }
.bottom-nav img { width: 1.75rem; height: 1.75rem; margin-bottom: 0.125rem; }
.bottom-nav span { font-size: 0.625rem; font-weight: 700; color: var(--dark); line-height: 1.25; }
@media (min-width: 768px) {
    .bottom-nav { display: none; }
}

/* ============================================================
   HALAMAN LAYANAN
   ============================================================ */
.page-hero {
    position: relative;
    background: var(--dark);
    color: #fff;
    overflow: hidden;
    min-height: 300px;
}
.page-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0;
    min-height: 280px;
}
.page-hero-text {
    width: 100%;
    padding: 3rem 0;
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.page-hero-text h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
    line-height: 1.15;
}
.page-hero-text h1 span { display: block; }
.page-hero-text h1 .hl { color: var(--accent); }
.page-hero-text p {
    color: var(--gray-300);
    font-size: 0.875rem;
    line-height: 1.625;
    margin-bottom: 1.5rem;
    max-width: 28rem;
}
.page-hero-img {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
.page-hero-img img {
    width: 100%;
    max-height: 340px;
    object-fit: contain;
    object-position: bottom;
}
@media (min-width: 768px) {
    .page-hero-inner { flex-direction: row; min-height: 340px; }
    .page-hero-text { width: 50%; }
    .page-hero-text h1 { font-size: 3rem; }
    .page-hero-text p { font-size: 1rem; }
    .page-hero-img { width: 50%; }
    .page-hero-img img { max-width: 24rem; }
}

/* Hero motor (versi dengan overlay) */
.page-hero.overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #1e3a8a;
    opacity: .5;
}
.page-hero.overlay .container { position: relative; z-index: 10; }
.page-hero.overlay .page-hero-inner { align-items: center; padding: 3rem 0; gap: 2rem; }
.page-hero.overlay .page-hero-text { padding: 0; }
.page-hero.overlay .page-hero-img img { max-width: 24rem; object-fit: cover; }
.page-hero.overlay .btn-hero { margin-top: 1.5rem; display: inline-block; box-shadow: 0 1px 3px rgb(0 0 0 / .1); align-self: flex-start; width: auto; }
@media (min-width: 768px) {
    .page-hero.overlay .page-hero-text h1 { margin-bottom: 1rem; }
    .page-hero.overlay .page-hero-text p { font-size: 1.25rem; }
}

/* ---------- Deskripsi layanan ---------- */
.service-desc {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}
.service-desc .desc-text { width: 100%; }
.service-desc h2 { font-size: 1.5rem; font-weight: 700; color: var(--dark); margin-bottom: 0.75rem; }
.service-desc .section-rule { margin: 0 0 1.25rem; width: 5rem; }
.service-desc p { color: var(--gray-500); font-size: 0.875rem; line-height: 1.625; margin-bottom: 1.5rem; text-align: justify; }
.service-desc .desc-img { width: 100%; display: flex; justify-content: center; }
.service-desc .desc-img img { width: 100%; }
@media (min-width: 768px) {
    .service-desc { flex-direction: row; gap: 2.5rem; }
    .service-desc .desc-text { width: 50%; }
    .service-desc .desc-img { width: 50%; }
    .service-desc h2 { font-size: 1.875rem; }
    .service-desc p { font-size: 1rem; }
    .service-desc .desc-img img { max-width: 24rem; }
}
.section-tight { padding: 3rem 0; }

/* ---------- Badge strip ---------- */
.badges {
    background: var(--light-bg);
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
    padding: 2rem 0;
}
.badges-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}
.badge-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    border: 1px solid #f3f4f6;
    width: 100%;
}
@media (min-width: 640px) {
    .badge-card { width: auto; }
}
.badge-card img { width: 3rem; height: 3rem; }
.badge-card h4 { font-weight: 700; color: var(--dark); font-size: 0.875rem; }
.badge-card p { color: var(--gray-500); font-size: 0.75rem; }

/* ---------- Promo banner + simulasi (mobil) ---------- */
.promo-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
}
.promo-dark {
    background: var(--dark);
    color: #fff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.promo-eyebrow {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.promo-dark h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.375;
}
.promo-dark h3 .hl { color: var(--accent); }
.promo-chips { display: flex; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.75rem; color: var(--gray-300); }
.promo-chips span { background: var(--gray-700); padding: 0.25rem 0.5rem; border-radius: 0.25rem; }
.promo-foot { border-top: 1px solid var(--gray-700); padding-top: 1rem; font-size: 0.75rem; color: var(--gray-400); }
.promo-accent {
    background: var(--accent);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.promo-accent h3 { font-size: 1.25rem; font-weight: 700; color: var(--dark); text-align: center; margin-bottom: 1.25rem; }
.sim-box {
    background: rgb(255 255 255 / 0.3);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-bottom: 1rem;
}
.sim-box p { font-size: 0.875rem; font-weight: 700; color: var(--dark); line-height: 1.6; }
.sim-box .label { font-weight: 400; }
.sim-amount { font-size: 1.5rem; font-weight: 800; color: var(--dark); }
.sim-pill {
    display: inline-block;
    background: var(--dark);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 0.25rem;
    margin-top: 0.25rem;
}
.sim-note { font-size: 0.75rem; text-align: center; color: rgb(16 44 82 / 0.7); }
@media (min-width: 1024px) {
    .promo-grid { grid-template-columns: repeat(2, 1fr); }
    .promo-dark, .promo-accent { padding: 2.5rem; }
}

/* ---------- Formulir pengajuan (mobil) ---------- */
.apply-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}
@media (min-width: 1024px) {
    .apply-grid { grid-template-columns: repeat(2, 1fr); }
}
.apply-side { display: flex; flex-direction: column; gap: 1.5rem; }
.apply-side > img { width: 100%; max-width: 20rem; margin: 0 auto; }
.tenor-card { background: var(--accent); border-radius: 0.75rem; padding: 1.5rem; color: var(--dark); }
.tenor-card h4 { font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.tenor-card > p { font-size: 0.875rem; margin-bottom: 0.75rem; }
.tenor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
}
.tenor-item { background: var(--dark); color: #fff; padding: 0.5rem 0; border-radius: 0.25rem; }
.tenor-cta {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--dark);
    color: #fff;
    font-weight: 700;
    padding: 0.625rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    transition: background .3s;
}
.tenor-cta:hover { background: var(--gray-800); }

/* ---------- Kartu form ---------- */
.form-card { background: var(--dark); border-radius: 0.75rem; padding: 2rem; color: #fff; box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1); }
.form-card h3 { font-size: 1.25rem; font-weight: 700; text-align: center; margin-bottom: 1.5rem; }
.form-card form { display: grid; gap: 1rem; }
.field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.25rem; }
.field input,
.field textarea {
    width: 100%;
    padding: 0.625rem 1rem;
    border-radius: 0.25rem;
    border: none;
    outline: none;
    font-size: 0.875rem;
    color: var(--dark);
    background: #fff;
    transition: box-shadow .15s;
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus { box-shadow: 0 0 0 2px var(--accent); }
.form-submit {
    width: 100%;
    background: var(--accent);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background .3s;
}
.form-submit:hover { background: var(--accent-hover); }
.form-submit .icon { font-size: 1rem; }

/* ---------- Simulasi + form (motor) ---------- */
.motor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 1024px) {
    .motor-grid { grid-template-columns: repeat(2, 1fr); }
}
.sim-card {
    background: var(--accent);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    color: #fff;
}
.sim-card h3 { font-size: 1.5rem; font-weight: 700; text-align: center; color: var(--dark); margin-bottom: 1.5rem; }
.sim-box-20 {
    background: rgb(255 255 255 / 0.2);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-bottom: 1rem;
    display: grid;
    gap: 0.5rem;
}
.sim-box-20 p { font-weight: 700; color: var(--dark); }
.sim-box-20 .amount { font-size: 1.25rem; font-weight: 700; }
.sim-box-20 .label { font-weight: 400; }
.sim-pill-white {
    background: #fff;
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-weight: 700;
    display: inline-block;
    margin: 0.5rem auto 0;
}
.sim-note-80 { font-size: 0.75rem; text-align: center; margin-top: 1rem; color: rgb(16 44 82 / 0.8); }

/* ============================================================
   ACCORDION (Persyaratan & FAQ)
   ============================================================ */
.acc-list-wrap { display: grid; gap: 0.75rem; }
.accordion {
    background: var(--dark);
    color: #fff;
    border-radius: 0.25rem;
    overflow: hidden;
}
.accordion-head {
    width: 100%;
    text-align: left;
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: transparent;
    border: none;
    color: #fff;
}
.accordion-head .icon { font-size: 0.75rem; }
.accordion-body {
    display: none;
    padding: 0 1.5rem 1rem;
    color: var(--gray-300);
    font-size: 0.875rem;
    line-height: 1.6;
}
.accordion.open .accordion-body { display: block; }
.acc-list {
    list-style: disc;
    padding-left: 1.25rem;
    margin-top: 0.25rem;
    display: grid;
    gap: 0.25rem;
}

/* ============================================================
   KONTEN NARASI KECIL (label kecil abu-abu)
   ============================================================ */
.note-xs { font-size: 0.75rem; color: var(--gray-500); }
