/* ================================================
   GLOBAL COLORS & VARIABLES
================================================ */
:root {
  --navy: #0b1f4b;
  --navy-mid: #1a3470;
  --gold: #c9973a;
  --gold-light: #e5b155;
  --cream: #f9f6f0;
  --warm-white: #FFFDF9;
  --text-dark: #1e1e2a;
  --text-mid: #5e5e6b;
  --text-light: #8a8a98;
  --green: #1A7A5E;
  --subsidi: #0f766e;
  --subsidi-soft: #ccf0e9;
  --komersil: #7c3aed;
  --komersil-soft: #eee9ff;
  --cashkpr: #b8882f;
  --cashkpr-soft: #fcedd7;
  --border: #eae6df;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 25px 50px -15px rgba(0, 0, 0, 0.25);
}

/* ================================================
   RESET & BASE
================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--text-dark);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  letter-spacing: -0.02em;
}

/* ================================================
   ANIMATIONS
================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45); }
  50%       { box-shadow: 0 8px 40px rgba(37, 211, 102, 0.65), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* ================================================
   SCROLLBAR
================================================ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--gold-light) 0%, var(--gold) 35%, var(--navy-mid) 75%, var(--navy) 100%);
  border-radius: 100px;
  min-height: 40px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #fff1c4 0%, var(--gold-light) 30%, var(--gold) 65%, var(--navy-mid) 100%);
  box-shadow: 0 0 8px rgba(201, 151, 58, 0.4);
}
::-webkit-scrollbar-corner { background: transparent; }

/* ================================================
   SCROLL PROGRESS BAR
================================================ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  z-index: 99999;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-light) 0%, var(--gold) 50%, var(--navy) 100%);
  box-shadow: 0 0 10px rgba(201, 151, 58, 0.6), 0 0 4px rgba(201, 151, 58, 0.3);
  transition: width 0.08s linear;
  border-radius: 0 2px 2px 0;
}

/* ================================================
   NAVBAR
================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-icon i { color: var(--gold-light); font-size: 1rem; }

.nav-logo-text { font-family: 'DM Serif Display', serif; font-size: 1.45rem; color: var(--navy); }
.nav-logo-text span { color: var(--gold); }

.nav-pill {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.25rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 0.75rem;
}

.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-links a:hover { color: var(--navy); background: var(--cream); }

.btn-nav-wa {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 0.55rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-nav-wa:hover { background: #1ebe5a; transform: translateY(-1px); color: white; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: white;
  padding: 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.4rem;

  border-top: 1px solid var(--border);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu .mlabel {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-light);
  padding: 1rem 1rem 0.25rem;
}
.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  transition: background 0.15s;
}
.mobile-menu a i { width: 18px; color: var(--gold); font-size: 0.85rem; }
.mobile-menu a:hover { background: var(--cream); }
.mobile-menu .btn-wa { border-radius: 12px; padding: 0.85rem; }

@media (max-width: 900px) {
  .nav-links, .btn-nav-wa { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 0 1.25rem; }
}

/* ================================================
   FOOTER
================================================ */
footer { background: #060E23; padding: 4rem 2rem 2rem; }

.footer-inner { max-width: 1320px; margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand h3 { font-family: 'DM Serif Display', serif; font-size: 1.6rem; color: white; margin-bottom: 0.75rem; }
.footer-brand h3 span { color: var(--gold); }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 280px; }

.footer-socials { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
}
.social-btn:hover { background: var(--gold); color: white; border-color: var(--gold); }

.footer-col h5 {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: rgba(255,255,255,0.35); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 0.875rem; transition: color 0.2s;
  display: flex; align-items: center; gap: 0.4rem;
}
.footer-col ul li a:hover { color: white; }
.footer-col ul li a i { font-size: 0.6rem; color: var(--gold); opacity: 0.7; }

.fcontact { display: flex; flex-direction: column; gap: 0.75rem; }
.frow { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.frow i { color: var(--gold); margin-top: 0.15rem; flex-shrink: 0; width: 14px; }
.frow a { color: inherit; text-decoration: none; }
.frow a:hover { color: white; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem; color: rgba(255,255,255,0.3);
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom i { color: var(--gold); }

/* ================================================
   FLOATING WHATSAPP
================================================ */
.floating-wa {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 9999;
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 0.75rem;
}

.fwa-bubble {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-dark);
  max-width: 210px; text-align: right;
  display: none;
}
.floating-wa:hover .fwa-bubble { display: block; animation: fadeUp 0.25s ease; }

.fwa-btn {
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: white;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  transition: all 0.25s;
  animation: pulse 2.5s infinite;
}
.fwa-btn:hover { transform: scale(1.08); color: white; }
