/* Responsive breakpoints */
@media (max-width: 1100px) {
  .container { padding: 0 24px; }
  .hero-slide-title { font-size: 38px; }
  .primary-nav { gap: 4px; }
  .nav-item .nav-link { padding: 14px 8px; font-size: 13px; }
}

@media (max-width: 920px) {
  /* Topbar */
  .topbar { font-size: 11px; }
  .topbar-inner { flex-wrap: nowrap; gap: 8px; min-height: 32px; padding: 6px 0; }
  .topbar-left { display: flex; gap: 12px; align-items: center; min-width: 0; flex: 1; overflow: hidden; }
  .topbar-left .topbar-contact { font-size: 11px; white-space: nowrap; }
  /* Hide email at mobile, keep call center */
  .topbar-left .topbar-contact:nth-child(2) { display: none; }
  .topbar-right { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
  /* Hide whistleblowing + PPID links + separator on mobile */
  .topbar-right > a { display: none; }
  .topbar-sep { display: none; }
  .lang-switch { padding: 4px 8px; font-size: 11px; }

  /* Header */
  .header-inner { padding: 14px 0; gap: 12px; }
  .brand-mark svg { width: 44px; height: 44px; }
  .brand-eyebrow { font-size: 10px; }
  .brand-name { font-size: 14px; }
  .brand-tag-line { font-size: 11px; }

  /* Mobile nav: hide desktop nav, show toggle */
  .primary-nav { display: none; }
  .primary-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-navy-900, #0b2545);
    z-index: 100;
    padding: 8px 0;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
  }
  .primary-nav.mobile-open .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .primary-nav.mobile-open .nav-item:last-child { border-bottom: 0; }
  .primary-nav.mobile-open .nav-link {
    color: #fff !important;
    padding: 14px 24px;
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .primary-nav.mobile-open .nav-dropdown {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    background: rgba(0,0,0,.25) !important;
    padding: 4px 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
  }
  .primary-nav.mobile-open .nav-dropdown a {
    color: rgba(255,255,255,.85) !important;
    padding: 10px 36px !important;
  }
  .header-main { position: relative; }
  .mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--c-line, #e1e6ec);
    border-radius: 6px;
    background: transparent;
    color: var(--c-navy-900, #0b2545);
    cursor: pointer;
  }
  .header-cta { display: none; }

  /* Hero */
  .hero-slider { height: 460px; }
  .hero-slide-title { font-size: 28px; }
  .hero-slide-title-en { font-size: 15px; }
  .hero-slide-sub { font-size: 14px; }
  .hero-prev { left: 12px; bottom: 24px; }
  .hero-next { right: 12px; bottom: 24px; }
  .hero-dots { bottom: 30px; }

  /* Generic grids stack */
  [class*="grid-3"],
  [class*="grid-4"],
  [class*="grid-2"],
  .news-grid,
  .card-grid,
  .feature-grid,
  .layanan-grid,
  .galeri-grid,
  .reg-grid { grid-template-columns: 1fr !important; }
  .stat-grid,
  .quick-links { grid-template-columns: repeat(2, 1fr) !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .footer-bottom-inner { flex-direction: column !important; gap: 12px; text-align: center; }

  /* Section padding */
  .section { padding: 56px 0 !important; }
  .section-title,
  h2.section-title { font-size: 26px !important; }

  /* Tables */
  table { font-size: 13px; }
  .table-wrap, .data-table-wrap { overflow-x: auto; }

  /* Tweaks panel */
  .tweaks-panel { width: calc(100vw - 24px); right: 12px; bottom: 12px; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  /* Topbar very tight */
  .topbar-left .topbar-contact svg { width: 11px; height: 11px; }
  .topbar-left .topbar-contact { font-size: 10px; }
  .lang-switch { padding: 3px 6px; font-size: 10px; }
  .hero-slider { height: 420px; }
  .hero-slide-title { font-size: 22px; line-height: 1.2; }
  .hero-slide-eyebrow { font-size: 11px; margin-bottom: 10px; }
  .hero-slide-sub { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-slide-ctas { flex-direction: column; align-items: stretch; gap: 8px; }
  .hero-slide-ctas a { justify-content: center; padding: 12px 16px !important; font-size: 14px; }
  .hero-dots { display: none; }
  .stat-grid, .quick-links { grid-template-columns: 1fr !important; }
  .ticker-wrap { font-size: 11px; }
}

/* Default: hide mobile toggle on desktop */
.mobile-toggle { display: none; }
