/* ============================================================
   MAI Connect — tema "biru perikanan"
   Palet: navy ink #103050 · ocean blue #105090 · aqua #1A90D0
   ============================================================ */
:root {
  --ink: #103050;
  --ink-soft: #3D5872;
  --ink-mute: #6B7F95;
  --ocean: #105090;
  --ocean-deep: #0A3050;
  --navy: #103050;
  --aqua: #1A90D0;
  --aqua-light: #8FD8F0;
  --sky: #D9F1FA;
  --bg: #F1F5F9;
  --card: rgba(255, 255, 255, 0.72);
  --card-strong: rgba(255, 255, 255, 0.88);
  --line: rgba(255, 255, 255, 0.85);
  --line-soft: rgba(16, 80, 144, 0.12);
  --shadow: 0 18px 44px rgba(16, 48, 80, 0.14);
  --shadow-sm: 0 8px 22px rgba(16, 48, 80, 0.10);
  --radius: 18px;
  --radius-sm: 12px;
  --ok: #0E8A6D;
  --warn: #B26A00;
  --bad: #C2424F;
  --grad: linear-gradient(135deg, #103050 0%, #105090 55%, #1A90D0 100%);
  --grad-soft: linear-gradient(135deg, rgba(16,48,80,0.08), rgba(26,144,208,0.12));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink-soft);
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(26, 144, 208, 0.16), transparent 60%),
    radial-gradient(700px 420px at -10% 20%, rgba(16, 80, 144, 0.12), transparent 60%),
    radial-gradient(600px 400px at 55% 110%, rgba(143, 216, 240, 0.2), transparent 65%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}
.wrap { width: min(1140px, 92%); margin-inline: auto; }
main { flex: 1; padding-bottom: 64px; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; }
a { color: var(--ocean); text-decoration: none; }
a:hover { color: var(--aqua); }
p { color: var(--ink-soft); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(90deg, #0A2848, #103050 55%, #105090);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 44px; height: 44px; border-radius: 14px; flex: none;
  background: #fff;
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 8px 18px rgba(10, 40, 72, 0.45);
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-name { font-size: 19px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.brand-name span { color: var(--aqua-light); }
.brand-tag { font-size: 13px; color: rgba(255,255,255,.85); letter-spacing: 0.02em; font-weight: 600; line-height: 1.2; max-width: 210px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; flex-wrap: wrap; }
.nav-links a {
  display: block; padding: 9px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,.88);
}
.nav-links a:hover { background: rgba(255,255,255,.14); color: #fff; }
.nav-links a.active { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(10, 40, 72, 0.45); }
/* ---------- dropdown navigasi ---------- */
.nav-drop { position: relative; }
.nav-drop-toggle { cursor: pointer; }
.nav-sub {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  list-style: none; background: #103050; border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px; padding: 8px; box-shadow: var(--shadow);
  display: none; z-index: 60;
}
.nav-sub li { margin: 0; }
.nav-sub a {
  display: block; padding: 10px 14px; border-radius: 10px; color: rgba(255,255,255,.9);
}
.nav-sub a:hover { background: rgba(255,255,255,.14); color: #fff; }
.nav-sub a.active { background: var(--grad); color: #fff; }
.nav-drop:hover .nav-sub, .nav-drop:focus-within .nav-sub { display: block; }
.nav-cta { margin-left: 6px; }
.nav-login { margin-left: 6px; }
.nav-right { margin-left: 6px; }
.nav-cta .btn {
  background: #FFFFFF; color: #103050 !important; font-weight: 800;
  box-shadow: 0 6px 16px rgba(10, 40, 72, 0.4);
}
.nav-cta .btn:hover { background: #EAF4FB; color: #103050 !important; }
.nav-btn-terang {
  background: rgba(255,255,255,.16); color: #fff !important;
  border: 1px solid rgba(255,255,255,.35);
}
.nav-btn-terang:hover { background: rgba(255,255,255,.26); color: #fff !important; }
.nav-toggle {
  display: none; border: 0; background: none; cursor: pointer;
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,.14); color: #fff;
}
@media (max-width: 920px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute; left: 4%; right: 4%; top: 72px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #103050;
    border: 1px solid rgba(255,255,255,.15); border-radius: 18px;
    padding: 12px; box-shadow: var(--shadow);
    display: none; max-height: 80vh; overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .nav-drop { width: 100%; }
  .nav-sub { position: static; display: none; width: 100%; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .nav-drop.open .nav-sub { display: block; }
  .nav-drop-toggle::after { content: ' ▾'; }
}

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; position: relative; }
.hero-map-col { display: flex; align-items: center; }
.hero-map { position: relative; width: 100%; max-width: 520px; margin-inline: auto; }
.peta-img { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow); }
.peta-overlay {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  text-align: center; background: transparent; border: 0; border-radius: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.peta-angka {
  font-size: 26px; font-weight: 900; color: #105090; line-height: 1;
  background: rgba(255,255,255,.85); border-radius: 10px; padding: 3px 12px;
  box-shadow: 0 4px 14px rgba(16,48,80,.3);
}
.peta-label { font-size: 11px; font-weight: 800; color: #103050; letter-spacing: .02em;
  background: rgba(255,255,255,.8); border-radius: 8px; padding: 2px 10px; }
.peta-sub { font-size: 10px; color: #6B7F95; font-weight: 600;
  background: rgba(255,255,255,.75); border-radius: 8px; padding: 1px 8px; }
@media (max-width: 640px) {
  .peta-angka { font-size: 20px; padding: 2px 8px; }
  .peta-label { font-size: 9px; }
  .peta-sub { font-size: 8px; }
}

/* ---------- Jelajah MAI ---------- */
.jelajah-section { margin-top: 44px; }
.jelajah-head { text-align: center; margin-bottom: 26px; }
.jelajah-head h2 { font-size: clamp(22px, 3vw, 28px); }
.jelajah-head .sub { color: var(--ink-mute); font-size: 14.5px; margin-top: 4px; }
.jelajah-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.jelajah-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 10px; display: flex; flex-direction: column; align-items: center;
  justify-content: flex-start; text-align: center; gap: 6px; height: 100%;
  backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease;
}
.jelajah-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.jelajah-ico { font-size: 32px; line-height: 1; }
.jelajah-card b { color: var(--ink); font-size: 12.5px; font-weight: 800; }
.jelajah-card span { color: var(--ink-mute); font-size: 10.5px; line-height: 1.35; }
@media (max-width: 1100px) { .jelajah-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .jelajah-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Banner full-width ---------- */
.banner-full { padding: 24px 0 0; }
.banner-wrap { position: relative; }
.banner-img {
  display: block; width: 100%; height: auto; object-fit: cover;
  border-radius: 20px; box-shadow: var(--shadow); margin: 0 auto;
}
.banner-wrap::before {
  content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 20px;
  background: linear-gradient(90deg, rgba(16,48,80,.92) 0%, rgba(16,48,80,.6) 38%, rgba(16,48,80,.25) 55%, rgba(16,48,80,0) 66%);
}
.banner-overlay {
  position: absolute; left: 4%; top: 50%; transform: translateY(-50%);
  max-width: 62%; z-index: 2;
}
.banner-title {
  color: #FFFFFF; font-weight: 900; font-size: clamp(26px, 4.2vw, 52px);
  line-height: 1.05; letter-spacing: .02em;
  text-shadow: 0 2px 14px rgba(16,48,80,.4);
}
.banner-connect { color: #8FD8F0; }
.banner-sub {
  color: #8FD8F0; font-weight: 800; font-size: clamp(15px, 2vw, 24px);
  margin-top: 4px;
}
.banner-sub2 {
  color: #FFFFFF; font-weight: 600; font-size: clamp(14px, 1.9vw, 21px);
  margin-top: 2px; text-shadow: 0 1px 8px rgba(16,48,80,.35);
}
.banner-desc {
  color: #FFFFFF; font-weight: 500; font-size: clamp(12.5px, 1.6vw, 17px);
  margin-top: 10px; line-height: 1.5; text-shadow: 0 1px 8px rgba(16,48,80,.35);
}
.banner-search {
  display: flex; align-items: center; gap: 8px; margin-top: 16px;
  background: #FFFFFF; border-radius: 999px; padding: 6px 6px 6px 18px;
  max-width: 460px; box-shadow: 0 10px 30px rgba(10,40,72,.35);
}
.banner-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 4px;
  font-size: 15px; color: #103050; font-weight: 600;
}
.banner-search input::placeholder { color: #8AA0B4; font-weight: 500; }
.banner-search input:focus { outline: none; box-shadow: none; }
.banner-search button {
  flex: none; border: 0; cursor: pointer; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 15px;
  padding: 12px 26px;
}
.banner-search button:hover { filter: brightness(1.1); }
.banner-cta {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px; z-index: 2; max-width: 300px;
}
.banner-cta-link {
  background: rgba(255,255,255,.92); color: #103050; font-weight: 800; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; box-shadow: 0 10px 26px rgba(10,40,72,.4);
  text-align: center; transition: transform .15s ease, box-shadow .2s ease;
}
.banner-cta-link:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(10,40,72,.5); color: #105090; }
.banner-cta-icai {
  text-align: center;
}
.banner-cta-icai img { max-width: 220px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 4px 10px rgba(10,40,72,.35)); }
.banner-cta-tempat {
  color: #103050; font-weight: 800; font-size: 13px; margin-top: 8px;
  display: inline-block; background: rgba(255,255,255,.92); padding: 6px 14px;
  border-radius: 999px; box-shadow: 0 4px 12px rgba(10,40,72,.25);
}
@media (max-width: 900px) {
  .banner-cta { position: static; transform: none; margin: -8px 0 14px; max-width: 100%; }
}
.mitra-head { text-align: center; margin-bottom: 24px; }
.mitra-head h2 { font-size: clamp(22px, 3vw, 28px); }
.mitra-head .sub { color: var(--ink-mute); font-size: 14.5px; margin-top: 4px; }
@media (max-width: 640px) {
  .banner-overlay { max-width: 82%; left: 4%; }
  .banner-desc { display: none; }
  .banner-search { max-width: 100%; }
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16, 80, 144, 0.10); color: var(--ocean);
  font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(16, 80, 144, 0.18); margin-bottom: 20px;
}
.hero h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 18px; }
.hero h1 .grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 17px; max-width: 34em; margin-bottom: 30px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 0; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 26px rgba(16, 80, 144, 0.38); }
.btn-primary:hover { color: #fff; box-shadow: 0 16px 32px rgba(16, 80, 144, 0.45); }
.btn-ghost { background: rgba(255, 255, 255, 0.75); color: var(--ocean); border: 1px solid rgba(16, 80, 144, 0.25); }
.btn-ghost:hover { background: #fff; color: var(--ocean); }
.btn-danger { background: #fff; color: var(--bad); border: 1px solid rgba(194, 66, 79, 0.35); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; max-width: 520px; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px; backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
}
.stat b { display: block; font-size: 26px; color: var(--ocean); font-weight: 800; }
.stat span { font-size: 12.5px; color: var(--ink-mute); font-weight: 600; }

.hero-visual { position: relative; }
.hero-card {
  background: var(--card-strong); border: 1px solid var(--line); border-radius: 26px;
  padding: 26px; backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--shadow);
}
.hero-card h3 { font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.hero-agenda-item {
  display: flex; gap: 14px; padding: 12px; border-radius: 14px; align-items: flex-start;
  background: rgba(16, 80, 144, 0.05); border: 1px solid rgba(16, 80, 144, 0.08);
  margin-bottom: 10px;
}
.hero-agenda-item:last-child { margin-bottom: 0; }
.date-chip {
  flex: none; width: 52px; border-radius: 12px; text-align: center; padding: 8px 4px;
  background: var(--grad); color: #fff;
}
.date-chip b { display: block; font-size: 19px; line-height: 1; }
.date-chip span { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-agenda-item h4 { font-size: 14px; margin-bottom: 2px; }
.hero-agenda-item p { font-size: 12.5px; color: var(--ink-mute); }
.hero-agenda-link { font-size: 13px; font-weight: 700; color: var(--ocean); }

/* ---------- sections ---------- */
.section { margin-top: 48px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(22px, 3vw, 28px); }
.section-head .sub { color: var(--ink-mute); font-size: 14.5px; margin-top: 4px; }
.link-all { font-weight: 700; font-size: 14px; white-space: nowrap; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-sm);
}
.card-pad { padding: 24px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 920px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }

/* berita cards */
.news-card { overflow: hidden; display: flex; flex-direction: column; transition: transform 0.18s ease, box-shadow 0.2s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-cover {
  height: 150px; background: var(--grad); position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 14px;
}
.news-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-cover::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 85% 0%, rgba(255,255,255,0.35), transparent 55%);
}
.news-cover svg { margin-bottom: auto; position: relative; z-index: 1; }
.article-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 16px; margin: 14px 0 4px; box-shadow: var(--shadow-sm); }
.poster-wrap { margin: 26px auto 6px; text-align: center; }
.poster-img { max-width: 440px; width: 100%; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.foto-4x6 { width: 54px; height: 81px; object-fit: cover; border-radius: 12px; flex: none; box-shadow: 0 8px 18px rgba(16, 80, 144, 0.25); }
.foto-hero { width: 64px; height: 96px; object-fit: cover; border-radius: 16px; flex: none; box-shadow: 0 8px 18px rgba(16,80,144,.3); }
.foto-member { width: 48px; height: 72px; object-fit: cover; border-radius: 12px; flex: none; box-shadow: 0 8px 18px rgba(16,80,144,.22); }
.foto-profil-preview {
  width: 96px; height: 144px; border-radius: 16px; overflow: hidden; flex: none;
  background: var(--grad); box-shadow: var(--shadow);
}
.foto-profil-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-profil-empty { display: grid; place-items: center; width: 100%; height: 100%; color: #fff; font-size: 42px; font-weight: 800; }
.thumb { width: 44px; height: 32px; object-fit: cover; border-radius: 8px; vertical-align: middle; margin-right: 8px; box-shadow: var(--shadow-sm); }
.news-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--ink-mute); flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.badge-sky { background: rgba(23, 160, 196, 0.14); color: var(--ocean); }
.badge-amber { background: rgba(178, 106, 0, 0.12); color: var(--warn); }
.badge-teal { background: rgba(14, 138, 109, 0.12); color: var(--ok); }
.badge-rose { background: rgba(194, 66, 79, 0.10); color: var(--bad); }
.badge-gray { background: rgba(107, 127, 149, 0.14); color: var(--ink-mute); }
.news-body h3 { font-size: 16.5px; }
.news-body p { font-size: 13.5px; color: var(--ink-mute); }
.read-more { margin-top: auto; font-size: 13.5px; font-weight: 700; color: var(--ocean); }

/* agenda */
.agenda-card { display: flex; gap: 18px; padding: 20px; align-items: flex-start; }
.agenda-info { flex: 1; }
.agenda-info h3 { font-size: 16.5px; margin-bottom: 6px; }
.agenda-info p { font-size: 13.5px; color: var(--ink-mute); }
.agenda-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 12.5px; color: var(--ink-mute); }
.agenda-meta span { display: inline-flex; align-items: center; gap: 6px; }
.done { opacity: 0.55; }
.done h3 { text-decoration: line-through; }

/* struktur */
.struktur-row { display: flex; flex-direction: column; gap: 14px; }
.struktur-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; }
.avatar {
  width: 50px; height: 50px; border-radius: 16px; flex: none;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 18px; box-shadow: 0 8px 18px rgba(16, 80, 144, 0.3);
}
.struktur-card h4 { font-size: 15.5px; }
.struktur-card .jabatan { font-size: 13px; font-weight: 700; color: var(--aqua); }
.struktur-card .divisi { font-size: 12.5px; color: var(--ink-mute); }

/* direktori */
.direktori-tools {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.direktori-top { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.direktori-top form { flex: 1; min-width: 260px; }
.direktori-tools input[type=search] { flex: 1; min-width: 200px; }
.member-card { display: flex; gap: 16px; padding: 20px; align-items: flex-start; }
.member-card .avatar { width: 48px; height: 48px; font-size: 17px; }
.member-body h4 { font-size: 15.5px; }
.member-body .inst { font-size: 13px; color: var(--ink-mute); margin-bottom: 6px; }
.member-body .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.contact-note { font-size: 12.5px; color: var(--ink-mute); font-style: italic; }
.contact-links { margin-top: 10px; font-size: 13px; display: flex; flex-direction: column; gap: 4px; }
.pen-ringkas {
  margin-top: 10px; padding: 10px 12px; border-radius: 12px;
  background: rgba(16,80,144,.06); border: 1px solid rgba(16,80,144,.14);
}
.pen-ringkas > b { font-size: 12px; color: var(--ocean); display: block; margin-bottom: 6px; }
.pen-ringkas .tags { margin-top: 4px; }
.pen-contoh { margin-top: 6px; font-size: 12px; color: var(--ink-soft); line-height: 1.4; }

/* ---------- forms ---------- */
.form-card { max-width: 640px; margin-inline: auto; padding: 32px; }
.form-card.wide { max-width: 860px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 24px; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field .hint { font-size: 12px; color: var(--ink-mute); }
input, select, textarea {
  font: inherit; color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(16, 80, 144, 0.18);
  border-radius: 12px; padding: 11px 14px; width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(23, 160, 196, 0.16);
}
textarea { min-height: 110px; resize: vertical; }

/* ---------- alerts / errors ---------- */
.alert { padding: 14px 18px; border-radius: 14px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.alert-ok { background: rgba(14, 138, 109, 0.12); color: var(--ok); border: 1px solid rgba(14, 138, 109, 0.25); }
.alert-err { background: rgba(194, 66, 79, 0.10); color: var(--bad); border: 1px solid rgba(194, 66, 79, 0.25); }
.errors { list-style: none; margin-bottom: 18px; }
.errors li { color: var(--bad); font-size: 13.5px; font-weight: 600; padding: 6px 12px; background: rgba(194,66,79,0.08); border-radius: 10px; margin-bottom: 6px; }

/* ---------- detail pages ---------- */
.page-hero { padding: 44px 0 12px; }
.page-hero h1 { font-size: clamp(26px, 3.6vw, 36px); }
.breadcrumb { font-size: 13px; color: var(--ink-mute); margin-bottom: 10px; }
.article { padding: 34px; max-width: 820px; margin-inline: auto; }
.article h1 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 12px; }
.article .lead { font-size: 16px; color: var(--ink-mute); margin-bottom: 20px; }
.article .content { margin-top: 18px; font-size: 15.5px; }
.article .content p { margin-bottom: 14px; }
.divider { height: 1px; background: var(--line-soft); margin: 22px 0; }

/* ---------- profil / status ---------- */
.status-hero { display: flex; align-items: center; gap: 18px; padding: 26px; margin-bottom: 22px; }
.status-hero .avatar { width: 64px; height: 64px; font-size: 24px; border-radius: 20px; }
.status-hero h2 { font-size: 21px; }
.status-hero p { font-size: 13.5px; color: var(--ink-mute); }
.profile-grid { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
.dl { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; font-size: 14px; }
.dl dt { color: var(--ink-mute); font-weight: 600; }
.dl dd { color: var(--ink); font-weight: 600; }

/* ---------- admin ---------- */
.admin-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.admin-nav a {
  padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line-soft); color: var(--ink-soft);
}
.admin-nav a.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 14px rgba(16,80,144,0.3); }
/* ---------- Sidebar admin (layout baru) ---------- */
.admin-layout { display: flex; gap: 24px; align-items: flex-start; }
.admin-nav {
  width: 280px; flex: none; margin: 0; padding: 8px 10px;
  flex-direction: column; align-items: stretch; gap: 1px; flex-wrap: nowrap;
  background: rgba(255,255,255,.72); border: 1px solid var(--line);
  border-radius: 18px; backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
  position: sticky; top: 88px; max-height: calc(100vh - 100px); overflow-y: auto;
  box-shadow: var(--shadow-sm);
}
.admin-nav a { display: block; padding: 7px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; border: 0; background: transparent; color: var(--ink-soft); }
.admin-nav a:hover { background: rgba(16,80,144,.08); color: var(--ocean); }
.admin-nav a.active { background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(16,48,80,.3); }
.admin-nav-grup {
  margin: 8px 4px 2px; font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; color: var(--ink-mute); border-top: 1px solid var(--line-soft); padding-top: 8px;
}
.admin-nav-grup:first-of-type { border-top: 0; padding-top: 0; margin-top: 2px; }
.admin-nav .nav-sub-item { padding-left: 22px; }
.admin-content { flex: 1; min-width: 0; }
@media (max-width: 920px) {
  .admin-layout { flex-direction: column; }
  .admin-nav { width: 100%; position: static; max-height: none; flex-direction: column; flex-wrap: nowrap; }
  .admin-nav a { display: block; width: 100%; }
  .admin-nav .nav-sub-item { padding-left: 22px; }
}
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 26px; }
.admin-stats .stat { padding: 20px; }
.admin-stats .stat b { font-size: 30px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-mute); }
tbody tr:hover { background: rgba(16, 80, 144, 0.045); }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.actions a, .actions button {
  font: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
  padding: 6px 12px; border-radius: 999px; border: 1px solid transparent;
}
.act-ok { background: rgba(14,138,109,0.12); color: var(--ok); }
.act-warn { background: rgba(178,106,0,0.12); color: var(--warn); }
.act-rose { background: rgba(194,66,79,0.10); color: var(--bad); }
.act-sky { background: rgba(16,80,144,0.10); color: var(--ocean); }
.form-inline { display: inline; }
.modal-form { background: var(--card-strong); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 18px; box-shadow: var(--shadow); }
.modal-form h3 { margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; }

/* ---------- footer ---------- */
.site-footer { background: linear-gradient(160deg, #0A2848, #103050); color: rgba(255,255,255,0.85); margin-top: 72px; }
.site-footer .wrap { padding: 48px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 34px; }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name span { color: var(--aqua-light); }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; letter-spacing: 0.03em; text-transform: uppercase; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,0.78); font-size: 14px; }
.site-footer a:hover { color: var(--aqua-light); }
.footer-kontak li { font-size: 12.5px; line-height: 1.5; }
.footer-kontak a { font-size: 12.5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 20px; font-size: 12.5px; color: rgba(255,255,255,0.6); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- 404 & misc ---------- */
.center-hero { text-align: center; padding: 90px 0; }
.center-hero .big { font-size: 80px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.empty { text-align: center; padding: 48px 20px; color: var(--ink-mute); }
.empty .big-ico { font-size: 40px; margin-bottom: 8px; }

/* ---------- Sertifikat Keanggotaan ---------- */
.sertifikat-wrap { display: flex; justify-content: center; margin-top: 10px; }
.sertifikat {
  width: 210mm; height: 297mm; background: #FFFFFF; font-family: 'Times New Roman', Georgia, serif;
  box-shadow: var(--shadow); border-radius: 4px; overflow: hidden; position: relative;
}
.sert-batas { position: absolute; inset: 12px; border: 3px double #105090; border-radius: 6px; }
.sert-inner { position: absolute; inset: 22px; display: flex; flex-direction: column; }
.sert-header { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.sert-logo { width: 62px; height: 62px; object-fit: cover; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.sert-org-nama { font-weight: 800; color: #103050; font-size: 19px; letter-spacing: .02em; }
.sert-org-sub { color: #105090; font-style: italic; font-size: 14px; }
.sert-judul {
  text-align: center; font-weight: 800; font-size: 30px; letter-spacing: .14em; color: #103050;
  margin: 8px 0 4px; text-decoration: underline; text-underline-offset: 6px;
}
.sert-nomor-besar {
  text-align: center; font-size: 24px; font-weight: 800; color: #105090; margin: 4px 0 6px;
}
.sert-nomor-besar b { font-size: 26px; }
.sert-pembuka { font-size: 15.5px; color: #1F1B3A; margin: 8px 0; }
.sert-data { margin: 4px 0 10px; }
.sert-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 7px; font-size: 15.5px; }
.sert-label { width: 200px; flex: none; color: #1F1B3A; }
.sert-dots { flex: none; }
.sert-value { flex: 1; border-bottom: 1.5px dotted #103050; min-height: 22px; padding-left: 10px; }
.sert-teks { font-size: 14.5px; color: #1F1B3A; margin: 5px 0; }
.sert-tempat { font-size: 15px; color: #1F1B3A; margin: 12px 0 8px; text-align: center; }
.sert-ttd-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 6px; }
.sert-ttd { text-align: center; font-size: 14px; color: #1F1B3A; width: 30%; }
.sert-ttd-nama { font-weight: 800; color: #103050; margin-top: 10px; font-size: 14px; }
.sert-qr { text-align: center; }
.sert-qr-img { width: 86px; height: 86px; border: 1.5px solid #105090; border-radius: 6px; background: #fff; }
.sert-qr-label { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: #103050; margin-top: 2px; }
.sert-catatan {
  margin-top: auto; text-align: center; font-size: 12.5px; color: #103050; font-style: italic; line-height: 1.5;
}
@media (max-width: 1000px) {
  .sertifikat { width: 100%; height: auto; min-height: 70vw; }
  .sert-inner { position: static; padding: 18px; }
  .sert-label { width: 140px; }
}

/* ---------- Kartu Membership ---------- */
.kartu-wrap { display: flex; justify-content: center; }
.kartu {
  width: 640px; max-width: 100%; height: 400px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, #EAF4FA, #FFFFFF);
  border: 1px solid #D7E7F1; box-shadow: var(--shadow);
  display: flex; flex-direction: column; font-family: Inter, Arial, sans-serif;
}
.kartu-header { background: linear-gradient(90deg, #0A2848, #105090); padding: 18px 22px; display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.kartu-logo {
  width: 60px; height: 60px; border-radius: 50%; background: #FFFFFF; flex: none;
  display: grid; place-items: center; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.kartu-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kartu-org-nama { color: #fff; font-weight: 800; font-size: 15.5px; line-height: 1.3; }
.kartu-org-sub { color: #B8DFEF; font-style: italic; font-size: 12.5px; margin-top: 2px; }
.kartu-divider { height: 3px; background: #E0EDF6; }
.kartu-body { flex: 1; display: flex; align-items: flex-start; gap: 18px; padding: 22px; }
.kartu-foto { width: 112px; height: 168px; flex: none; border-radius: 8px; overflow: hidden; background: #105090; border: 2px solid #1A90D0; }
.kartu-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kartu-foto-empty { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(255,255,255,.9); font-size: 52px; font-weight: 800; }
.kartu-info { flex: 1; min-width: 0; padding-top: 4px; }
.kartu-label { color: #8AA0B4; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; }
.kartu-nama { color: #103050; font-size: 20px; font-weight: 800; margin-top: 2px; word-break: break-word; }
.kartu-no { color: #105090; font-size: 18px; font-weight: 800; margin-top: 2px; }
.kartu-qr-area { flex: 0 0 160px; text-align: center; }
.kartu-qr { width: 150px; height: 150px; border: 2px solid #105090; border-radius: 10px; background: #fff; }
.kartu-masa { color: #103050; font-weight: 800; font-size: 11px; margin-top: 8px; }
.kartu-masa-nilai { color: #105090; font-weight: 800; font-size: 13px; }
.kartu-footer {
  background: linear-gradient(90deg, #0A2848, #105090); color: #D6ECF7;
  text-align: center; padding: 10px 12px; font-size: 12px; font-weight: 600; letter-spacing: .01em;
}

/* ---------- Statistik ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 8px; }
@media (max-width: 920px) { .stat-grid { grid-template-columns: 1fr; } }
.stat-card h3 { font-size: 16px; margin-bottom: 14px; }
.chart-box { position: relative; height: 320px; }
.chart-wide { height: 420px; }
.rekap-table tbody tr.rekap-total td { border-top: 2px solid var(--line-soft); background: rgba(16,80,144,.05); }

/* ---------- Dashboard member ---------- */
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
@media (max-width: 920px) { .dash-grid { grid-template-columns: 1fr; } }
.dash-card { text-align: center; }
.dash-card h3 { font-size: 13px; color: var(--ink-mute); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 12px; }
.dash-value { font-size: 22px; font-weight: 800; color: var(--ocean); }
.dash-sub { font-size: 12.5px; color: var(--ink-mute); margin-top: 6px; }
.dash-aksi { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 700px) {
  .kartu { height: auto; }
  .kartu-body { flex-wrap: wrap; }
  .kartu-qr-area { flex: 1 1 100%; text-align: center; }
  .kartu-qr { margin: 0 auto; }
}

/* ---------- Form pendaftaran (berkelompok) ---------- */
.form-section {
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 22px; margin-bottom: 22px; background: rgba(255,255,255,.45);
}
.form-section h3 { font-size: 15.5px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.form-section h3::before { content: ''; width: 6px; height: 18px; border-radius: 4px; background: var(--grad); }
.radio-row { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
  border-radius: 999px; border: 1.5px solid rgba(16,80,144,.2); cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--ink-soft); background: rgba(255,255,255,.8);
  transition: all .15s ease;
}
.radio-pill input { display: none; }
.radio-pill.on { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 14px rgba(16,80,144,.3); }
.radio-pill.on::after { content: '✓'; margin-left: 2px; font-weight: 900; }
.masa-pill { position: relative; }
.masa-pill.on::after {
  content: '✓'; position: absolute; top: 8px; right: 12px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,.3); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 900;
}
.masa-options { display: flex; flex-direction: column; gap: 10px; }
.masa-group { display: flex; flex-wrap: wrap; gap: 12px; }
.masa-pill { flex-direction: column; align-items: flex-start; gap: 2px; border-radius: 14px; padding: 12px 20px; }
.masa-pill b { font-size: 14px; }
.masa-pill span { font-size: 12.5px; opacity: .85; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.check-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border: 1.5px solid rgba(16,80,144,.16); border-radius: 12px; cursor: pointer;
  background: rgba(255,255,255,.8); font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  transition: all .15s ease;
}
.check-item:hover { border-color: var(--aqua); }
.check-item:has(input:checked) { border-color: var(--ocean); background: rgba(16,80,144,.08); color: var(--ocean); }
.check-item input { width: 16px; height: 16px; accent-color: var(--ocean); }
.check-toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 700; color: var(--ink); cursor: pointer; }
.check-toggle input { width: 18px; height: 18px; accent-color: var(--ocean); }
input[readonly] {
  background: rgba(16, 80, 144, 0.07) !important;
  color: var(--ink);
  border-style: dashed;
  cursor: default;
  font-weight: 700;
}
.captcha-box { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.captcha-soal {
  font-size: 22px; font-weight: 800; color: var(--ink); background: var(--sky);
  border: 1.5px dashed rgba(16,80,144,.35); border-radius: 12px; padding: 10px 18px; letter-spacing: .04em;
}
.radio-stack { display: flex; flex-direction: column; gap: 12px; }
.radio-block {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px;
  border: 1.5px solid rgba(16,80,144,.2); border-radius: 14px; cursor: pointer;
  background: rgba(255,255,255,.8); font-size: 14px; line-height: 1.55; color: var(--ink-soft);
  transition: all .15s ease;
}
.radio-block input { display: none; }
.radio-block.on { box-shadow: inset 0 0 0 1.5px; }
.radio-block.on-blue { background: rgba(16,80,144,.1); border-color: var(--ocean); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ocean); }
.radio-block.on-blue span::after { content: ' ✓'; color: var(--ocean); font-weight: 800; }
.radio-block.on-pink { background: rgba(194,66,79,.08); border-color: var(--bad); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--bad); }
.radio-block.on-pink span::after { content: ' ✓'; color: var(--bad); font-weight: 800; }

/* ---------- Alert pembayaran ---------- */
.pay-alert {
  margin-bottom: 22px; padding: 26px 28px;
  border: 2px solid rgba(194,66,79,.45); border-radius: 18px;
  background: linear-gradient(160deg, rgba(255,240,242,.92), rgba(255,255,255,.92));
  box-shadow: 0 14px 34px rgba(194,66,79,.16);
}
.pay-alert-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pay-alert-ico { font-size: 30px; }
.pay-alert h3 { color: var(--bad); font-size: 20px; letter-spacing: .01em; }
.pay-alert-sub { font-size: 12.5px; color: var(--bad); font-weight: 700; letter-spacing: .06em; margin-top: 2px; }
.pay-alert-tagihan {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  background: rgba(255,255,255,.85); border: 1.5px dashed rgba(194,66,79,.5);
  border-radius: 14px; padding: 14px 20px; margin-bottom: 14px;
}
.pay-alert-tagihan b { font-size: 28px; color: var(--bad); font-weight: 800; }
.pay-alert-tagihan span { font-size: 14px; color: var(--ink-soft); }
.pay-alert-bank {
  font-size: 14px; line-height: 1.7; color: var(--ink-soft);
  background: rgba(16,80,144,.06); border: 1px solid rgba(16,80,144,.15);
  border-radius: 14px; padding: 14px 20px; margin-bottom: 16px;
}
.pay-alert-bank b { color: var(--ocean); }
.pay-form { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.pay-status { margin-bottom: 16px; }
.pay-info { margin-bottom: 16px; }
.pay-bank {
  background: rgba(16,80,144,.06); border: 1px solid rgba(16,80,144,.18);
  border-radius: 16px; padding: 18px 22px; margin: 16px 0 22px;
}
.pay-bank h3 { font-size: 16px; margin-bottom: 8px; color: var(--ocean); }
.pay-bank b { color: var(--ink); }

/* ---------- halaman Profil MAI ---------- */
.about-intro p { font-size: 15.5px; margin-bottom: 14px; }
.about-intro p:last-of-type { margin-bottom: 12px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; } }
.section-block { margin-top: 48px; }
.section-block h2 { font-size: clamp(20px, 2.6vw, 24px); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.section-block h2::before { content: ''; width: 8px; height: 24px; border-radius: 6px; background: var(--grad); display: inline-block; }
.section-block .lead-text { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 14px; }
.visi-box {
  text-align: center; padding: 40px 30px; border-radius: var(--radius);
  background: var(--grad); color: #fff; box-shadow: var(--shadow);
  display: flex; flex-direction: column; justify-content: center;
}
.visi-box h3 { color: rgba(255,255,255,.85); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.visi-box p { color: #fff; font-size: clamp(19px, 2.4vw, 23px); font-weight: 800; line-height: 1.45; }
.misi-box { padding: 30px 32px; }
.list-check { list-style: none; }
.list-check li { position: relative; padding-left: 30px; margin-bottom: 10px; font-size: 15px; color: var(--ink-soft); }
.list-check li::before {
  content: '✓'; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 12px; font-weight: 800;
  display: grid; place-items: center;
}
.grid-2-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 26px; }
@media (max-width: 640px) { .grid-2-list { grid-template-columns: 1fr; } }
.cta-box {
  margin-top: 56px; padding: 44px 30px; text-align: center;
  background: var(--grad); color: #fff; border-radius: 24px; box-shadow: var(--shadow);
}
.cta-box h2 { color: #fff; font-size: clamp(22px, 3vw, 28px); margin-bottom: 12px; }
.cta-box p { color: rgba(255,255,255,.92); max-width: 44em; margin: 0 auto 24px; font-size: 15.5px; }
.btn-lg { padding: 15px 34px; font-size: 16px; }

/* ---------- Benefit Member / tabel harga ---------- */
.price-table-wrap { overflow-x: auto; margin-top: 8px; }
.price-table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.price-table th {
  background: var(--grad); color: #fff; text-transform: none; letter-spacing: 0;
  font-size: 14px; padding: 13px 16px; text-align: left; font-weight: 700;
}
.price-table th:first-child { border-radius: 14px 0 0 0; }
.price-table th:last-child { border-radius: 0 14px 0 0; }
.price-table td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); }
.price-table .price-row td { background: rgba(16, 80, 144, 0.05); font-size: 15px; }
.price-table .price-row td b { color: var(--ocean); }
.price-table .price-sub td { color: var(--ink-mute); font-size: 13.5px; }
.price-table .price-sub td:first-child { padding-left: 30px; }
.price-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- Opini MAI ---------- */
.opini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin-top: 8px; }
.opini-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .2s ease; }
.opini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.opini-cover { position: relative; height: 240px; overflow: hidden; background: var(--grad); }
.opini-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.opini-cover-fallback { display: grid; place-items: center; height: 100%; color: rgba(255,255,255,.9); font-weight: 800; letter-spacing: .06em; }
.opini-edisi {
  position: absolute; top: 12px; left: 12px;
  background: rgba(16, 48, 80, 0.82); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(4px);
}
.opini-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.opini-body h3 { font-size: 16px; }
.opini-penulis { font-size: 13px; color: var(--ocean); font-weight: 600; }
.opini-body p { font-size: 13px; color: var(--ink-mute); }
.opini-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.opini-reads { font-size: 12px; color: var(--ink-mute); font-weight: 600; white-space: nowrap; }
.opini-baca-area { align-items: flex-start; }
.opini-baca-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.dibaca-label {
  font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ocean); background: rgba(23, 160, 196, 0.12); border: 1px solid rgba(23, 160, 196, 0.25);
  padding: 5px 14px; border-radius: 999px;
}
.dibaca-label b { color: var(--ink); font-size: 13.5px; }
.opini-detail { max-width: 860px; margin-inline: auto; }
.opini-detail-head { display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: start; }
@media (max-width: 720px) { .opini-detail-head { grid-template-columns: 1fr; } }
.opini-detail-cover { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: var(--grad); }
.opini-detail-cover img { width: 100%; display: block; aspect-ratio: 3/4; object-fit: cover; }
.opini-detail-cover .opini-cover-fallback { aspect-ratio: 3/4; }

/* ---------- Books Chapter ---------- */
.books-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.books-2col > .card { min-height: 100%; }
.books-right-col { display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 920px) { .books-2col { grid-template-columns: 1fr; } }
.buku-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.buku-card { overflow: hidden; display: flex; flex-direction: row; transition: transform .18s ease, box-shadow .2s ease; }
.buku-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.buku-cover { position: relative; width: 180px; flex: none; overflow: hidden; background: var(--grad); }
.buku-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) {
  .buku-card { flex-direction: column; }
  .buku-cover { width: 100%; aspect-ratio: 2/3; }
}
.buku-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.buku-body h3 { font-size: 15.5px; }
.buku-penulis { font-size: 13px; color: var(--ocean); font-weight: 600; }
.buku-harga { font-size: 16px; font-weight: 800; color: var(--ink); }
.buku-isbn { font-size: 12px; color: var(--ink-mute); }
.buku-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--ink-mute); }
.buku-sinopsis { font-size: 12.5px; color: var(--ink-mute); }

/* ---------- Mitra MAI (banner logo) ---------- */
.mitra-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.mitra-banner {
  background: rgba(255,255,255,.82); border: 1px solid var(--line-soft); border-radius: 16px;
  padding: 18px; min-height: 96px; display: grid; place-items: center;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
a.mitra-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--aqua); }
.mitra-banner img { max-height: 64px; max-width: 85%; object-fit: contain; }
.mitra-fallback {
  width: 100%; height: 100%; min-height: 60px; display: grid; place-items: center;
  font-size: 30px; font-weight: 800; color: var(--ocean); letter-spacing: .02em;
}
@media (max-width: 640px) { .mitra-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.list-num { list-style: none; counter-reset: num; }
.list-num li { counter-increment: num; position: relative; padding-left: 34px; margin-bottom: 10px; font-size: 15px; color: var(--ink-soft); }
.list-num li::before {
  content: counter(num); position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 800;
  display: grid; place-items: center;
}
