:root {
  --second: #1477e0;
  --third:  #5eb6ff;
  --primary-color: #f3f9fe;
  --text-dark: #333; --text-light: #666; --border-color: #e5e7eb;
}
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
body { font-family:"Baloo 2","Poppins",cursive,sans-serif; }
.kontak-page { width:100%; min-height:100vh; background:var(--primary-color); position:relative; }
.kontak-background { position:absolute; top:0; right:0; width:50%; height:100%; background:var(--second); z-index:0; pointer-events:none; }
.kontak-logo { position:absolute; top:28px; left:60px; z-index:102; }
.kontak-logo img { height:40px; width:auto; }
.kontak-logo a { text-decoration:none; }
.kontak-header { position:absolute; top:22px; right:145px; display:inline-flex; align-items:center; gap:6px; background:rgba(0,0,0,0.45); backdrop-filter:blur(14px); border-radius:50px; padding:6px 16px; z-index:101; }
.kontak-header .nav-menu { list-style:none; display:flex; gap:2px; }
.kontak-header .nav-menu li { position:relative; }
.kontak-header .nav-menu a { color:white !important; text-decoration:none; font-size:13.5px; font-weight:600; padding:5px 13px; border-radius:30px; display:inline-block; transition:background .2s; cursor:pointer; }
.kontak-header .nav-menu a:hover { background:rgba(255,255,255,0.18); }
.kontak-header .nav-menu a.active { background:rgba(255,255,255,0.88) !important; color:var(--second) !important; }
.kontak-header .nav-menu .submenu { display:none; position:absolute; top:calc(100% + 8px); left:0; background:white; border-radius:10px; padding:8px; list-style:none; min-width:170px; box-shadow:0 4px 20px rgba(0,0,0,.12); z-index:30; }
.kontak-header .nav-menu li:hover .submenu { display:block; }
.kontak-header .nav-menu .submenu a { color:var(--text-dark) !important; display:block; padding:8px 14px; border-radius:6px; }
.kontak-header .nav-menu .submenu a:hover { background:#f3f4f6; }
.kontak-header .btn-blog { padding:8px 22px; background:var(--second); color:white; border:none; border-radius:50px; font-size:14px; font-weight:700; cursor:pointer; font-family:"Baloo 2",cursive; box-shadow:0 2px 10px rgba(0,0,0,.18); transition:opacity .2s,transform .2s; }
.kontak-header .btn-blog:hover { opacity:.88; transform:translateY(-1px); }
.kontak-container { display:flex; height:100vh; overflow:hidden; position:relative; z-index:1; }
.kontak-content { width:50%; background:white; border-right:1px solid var(--border-color); display:flex; flex-direction:column; overflow-y:auto; padding-top:80px; scrollbar-width:thin; scrollbar-color:var(--second) #f1f5f9; box-shadow:2px 0 10px rgba(0,0,0,.05); }
.kontak-content-inner { padding:24px 40px 40px; flex:1; }
.kontak-content-inner h1 { font-size:36px; font-weight:800; color:var(--text-dark); margin:0 0 24px; line-height:1.2; }
.kontak-content-inner p { font-size:15px; color:var(--text-light); line-height:1.8; margin:0 0 16px; }
.kontak-map-section { width:50%; height:100vh; position:relative; overflow:hidden; }
.kontak-map-section #kontakMap { width:100%; height:100%; position:absolute; inset:0; }
.leaflet-container { width:100% !important; height:100% !important; }
.contact-item { display:flex; gap:14px; margin-bottom:20px; align-items:flex-start; padding:16px; background:#f8fafc; border-radius:12px; border-left:4px solid var(--second); transition:all .3s; }
.contact-item:hover { background:#f1f5f9; transform:translateX(4px); }
.contact-item i { font-size:20px; color:var(--second); margin-top:2px; min-width:24px; text-align:center; }
.contact-item > div { flex:1; }
.contact-item strong { display:block; font-size:15px; font-weight:700; color:var(--text-dark); margin-bottom:4px; }
.contact-item p { margin:0; font-size:14px; color:#555; line-height:1.6; }
.kontak-mobile-btn { display: none; }
.kontak-mobile-overlay { display: none; }
.kontak-mobile-drawer { display: none; }
@media(max-width:1024px) and (min-width:769px) {
  .kontak-logo { left: 24px; top: 18px; }
  .kontak-logo img { height: 32px; }

  .kontak-header {
    position: absolute;
    top: 14px;
    right: 12px;
    left: auto;
    width: auto;
    max-width: calc(50% - 24px);
    border-radius: 50px;
    padding: 5px 12px;
    justify-content: flex-end;
  }
  .kontak-header .nav-menu a { font-size: 11px; padding: 4px 7px; }
  .kontak-header .btn-blog { font-size: 11px; padding: 5px 12px; }
  .kontak-container { height: 100vh; }
  .kontak-content-inner { padding: 20px 24px 32px; }
  .kontak-content-inner h1 { font-size: 28px; }
}

/* ── MOBILE ── */
@media(max-width:768px) {
  .kontak-header { display: none; }
  .kontak-background { display: none; }

  .kontak-logo {
  position: fixed;
    left: 14px;
    top: 14px;
    z-index: 999;
    background: white;
    border-radius: 8px;
    padding: 4px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
  .kontak-logo img { height: 30px; }

  /* Hamburger */
  .kontak-mobile-btn {
    display: flex;
    position: fixed;
    top: 14px; right: 14px;
    z-index: 1000;
    background: var(--second);
    border: none; border-radius: 10px;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    cursor: pointer; color: white; font-size: 17px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  }

  .kontak-mobile-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9998; backdrop-filter: blur(2px);
  }
  .kontak-mobile-overlay.open { display: block; }

  .kontak-mobile-drawer {
    display: flex; flex-direction: column;
    position: fixed;
    top: 0; right: -100%;
    width: 78%; max-width: 280px;
    height: 100vh; height: 100dvh;
    background: white;
    z-index: 9999;
    transition: right 0.3s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,0.18);
    overflow-y: auto;
  }
  .kontak-mobile-drawer.open { right: 0; }
  .kontak-mobile-drawer::before {
    content: "";
    display: block;
    background: linear-gradient(135deg, var(--second), var(--third));
    height: 80px; flex-shrink: 0;
  }
  .kontak-mobile-drawer .nav-close {
    position: absolute; top: 20px; right: 16px;
    background: rgba(255,255,255,0.2);
    border: none; border-radius: 8px;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; cursor: pointer; color: white;
  }
  .kontak-mobile-drawer ul {
    list-style: none;
    display: flex; flex-direction: column;
    padding: 16px 12px 12px; gap: 2px; flex: 1;
  }
  .kontak-mobile-drawer ul li a {
    display: flex; align-items: center;
    padding: 12px 16px;
    font-size: 15px; font-weight: 600;
    color: #1f2937 !important; text-decoration: none;
    border-radius: 10px; cursor: pointer; transition: all 0.2s;
  }
  .kontak-mobile-drawer ul li a:hover,
  .kontak-mobile-drawer ul li a.active {
    background: rgba(20,119,224,0.08);
    color: var(--second) !important;
  }
  .kontak-mobile-drawer .drawer-blog-btn {
    display: block;
    margin: 0 12px calc(24px + env(safe-area-inset-bottom));
    padding: 13px 16px;
    background: var(--second); color: white !important;
    border: none; border-radius: 10px;
    font-size: 15px; font-weight: 700;
    width: calc(100% - 24px); cursor: pointer;
    font-family: "Baloo 2", cursive; text-align: center;
  }

  /* Layout: map atas (hero), konten bawah */
  .kontak-container {
    flex-direction: column-reverse;
    height: auto; min-height: 100vh;
    overflow: visible;
  }

  /* Map — hero di atas */
  .kontak-map-section {
    width: 100%;
    height: 80vh;
    position: relative;
    flex-shrink: 0;
  }
  .kontak-map-section #kontakMap {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
  }

  /* Konten di bawah */
  .kontak-content {
    width: 100%;
    padding-top: 64px;
    border-right: none;
    overflow-y: visible;
    height: auto;
  }
  .kontak-content-inner { padding: 20px 18px 32px; }
  .kontak-content-inner h1 { font-size: 24px; margin-bottom: 16px; }

  .contact-item { padding: 12px 14px; margin-bottom: 10px; }
  .contact-item i { font-size: 17px; }
  .contact-item strong { font-size: 13px; }
  .contact-item p { font-size: 13px; }
}