/* ==========================================================================
   YAYASAN NUR HASAN SENTING - CENTRALIZED LANDING SYSTEM
   assets/landing/landing.css
   Shared components: Reset, Navbar Glass, Announcement Bar, Typography,
   Cards, Grids, 29 Karakter Luhur Accordion, CTA, Footer, and Responsive.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. DESIGN SYSTEM TOKENS (DEFAULTS)
   -------------------------------------------------------------------------- */
:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-light: #38bdf8;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --emerald: #059669;
  --navy: #0f172a;
  --slate-bg: #f8fafc;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --card-border: #e2e8f0;

  --ink: #0d1b22;
  --ink-2: #102732;
  --night: #05080d;
  --paper: #ffffff;
  --soft: #f5f5f7;
  --soft-2: #fbfbfd;
  --line: rgba(15, 32, 39, .11);
  --muted: #6e6e73;
  --muted-light: #a1a1a6;
  --yellow: #ffd60a;
  --yellow-2: #ffcc00;
  --gold: #b88600;
  --blue: #0071e3;
  --green: #30d158;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 42px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(2, 132, 199, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(2, 132, 199, 0.12);
  --shadow-soft: 0 24px 70px rgba(0, 0, 0, .08);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* --------------------------------------------------------------------------
   1. RESET & BASE TYPOGRAPHY
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   2. ANNOUNCEMENT BAR (YAYASAN STANDARD)
   -------------------------------------------------------------------------- */
.announcement {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 16px;
  color: #1d1d1f;
  background: var(--yellow);
  font-size: 13px;
  font-weight: 650;
  text-align: center;
  flex-wrap: wrap;
}

.announcement-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.announcement a {
  text-decoration: none;
  color: #090d20;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1.5px solid transparent;
  transition: border-color .2s ease;
  font-weight: 750;
}

.announcement a:hover {
  border-color: #090d20;
}

.announcement .separator {
  opacity: .35;
}

/* --------------------------------------------------------------------------
   3. APPLE-GLASS STICKY NAVBAR
   -------------------------------------------------------------------------- */
.nav-shell {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 251, 253, .88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.nav-shell .container {
  width: min(1360px, calc(100% - 32px));
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -.1px;
  line-height: 1.25;
  color: var(--ink);
}

.brand span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.1vw, 16px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.nav-links a {
  color: #333336;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
  white-space: nowrap;
  padding: 6px 4px;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-btn-bayar,
.btn-nav-bayar {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #f0f1f5;
  color: #1a1a1e !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.05);
  white-space: nowrap;
  transition: all .2s ease;
}

.nav-btn-bayar:hover,
.btn-nav-bayar:hover {
  background: #e2e4ea;
}

.nav-login {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: white !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(13, 27, 34, 0.14);
  transition: all .2s ease;
}

.nav-login:hover {
  background: #243943;
  color: white !important;
  transform: translateY(-1px);
}

.btn-nav-sso,
.nav-btn-sso {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transition: all .2s ease;
}

.btn-nav-sso:hover,
.nav-btn-sso:hover {
  background: #1e293b;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-nav-sso.sso-tk,
.nav-btn-sso.sso-tk {
  background: #0d9488;
  border-color: #0f766e;
}
.btn-nav-sso.sso-tk:hover,
.nav-btn-sso.sso-tk:hover {
  background: #0f766e;
}

.btn-nav-sso.sso-sd,
.nav-btn-sso.sso-sd {
  background: #1d4ed8;
  border-color: #1e40af;
}
.btn-nav-sso.sso-sd:hover,
.nav-btn-sso.sso-sd:hover {
  background: #1e40af;
}

.btn-nav-sso.sso-smp,
.nav-btn-sso.sso-smp {
  background: #4338ca;
  border-color: #3730a3;
}
.btn-nav-sso.sso-smp:hover,
.nav-btn-sso.sso-smp:hover {
  background: #3730a3;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--navy);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   4. BUTTONS & ACTIONS
   -------------------------------------------------------------------------- */
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: transform .22s var(--ease), box-shadow .22s ease, background .22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 27, 34, .16);
}

.btn-dark:hover {
  background: #1c323f;
  color: #fff;
}

.btn-secondary {
  background: #e9e9ec;
  color: #1d1d1f;
}

.btn-secondary:hover {
  background: #dedee2;
}

.btn-yellow {
  background: var(--yellow);
  color: #151515;
  box-shadow: 0 10px 30px rgba(255, 214, 10, .25);
}

.btn-yellow:hover {
  background: #ffe04a;
}

.btn-outline {
  background: transparent;
  color: #1d1d1f;
  border: 1.5px solid rgba(13, 27, 34, .2);
}

.btn-outline:hover {
  background: rgba(13, 27, 34, .05);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

/* --------------------------------------------------------------------------
   5. SECTIONS & TYPOGRAPHY
   -------------------------------------------------------------------------- */
.section {
  padding: 85px 0;
  position: relative;
}

.section-head,
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 46px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 850;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 12px;
}

.section-desc,
.section-subtitle,
.section-lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.eyebrow,
.section-kicker,
.section-tag,
.micro {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(2, 132, 199, .10);
  border: 1px solid rgba(2, 132, 199, .22);
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   6. CARDS & GRIDS
   -------------------------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.icon-blue { background: #dbeafe; color: #1d4ed8; }
.icon-green { background: #dcfce7; color: #15803d; }
.icon-amber { background: #fef3c7; color: #b45309; }
.icon-purple { background: #ede9fe; color: #6d28d9; }
.icon-teal { background: #cffafe; color: #0e7490; }
.icon-rose { background: #fee2e2; color: #b91c1c; }

.card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Profil & Identitas Resmi Card */
.profile-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.profile-info h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.profile-info p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 10px;
}

.profile-table tr {
  border-bottom: 1px solid #f1f5f9;
}

.profile-table td {
  padding: 9px 0;
}

.profile-table td:first-child {
  font-weight: 700;
  color: var(--navy);
  width: 140px;
}

.profile-table td:last-child {
  color: var(--text-main);
}

.badge-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 750;
  background: #dbeafe;
  color: var(--primary);
}

.badge-pill.green {
  background: #dcfce7;
  color: #15803d;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 750;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

/* Quick Stats Strip & Bar */
.stats-strip,
.stats-bar {
  display: block;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--card-border);
  padding: 26px 0;
  margin-top: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.stat-item {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 22px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-item h3,
.stat-item strong {
  display: block;
  font-size: 24px;
  font-weight: 850;
  color: var(--primary);
  line-height: 1.2;
  margin: 0 0 6px;
}

.stat-item p,
.stat-item span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

.stat-col {
  padding: 22px 20px;
  text-align: center;
  border-right: 1px solid var(--card-border);
}

.stat-col:last-child {
  border-right: none;
}

.stat-col strong {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
}

.stat-col span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
  display: block;
}

/* Galeri Dokumentasi */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-card,
.gallery-item {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}

.gallery-card:hover,
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.gallery-card img,
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery-body {
  padding: 20px;
}

.gallery-tag {
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--primary);
  margin-bottom: 6px;
  display: inline-block;
}

.gallery-body h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.35;
}

.gallery-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Facility Pills */
.facility-pill,
.facility-item {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.facility-pill:hover,
.facility-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.facility-pill i,
.facility-item i {
  font-size: 26px;
  color: var(--primary);
  flex-shrink: 0;
}

.facility-pill h4,
.facility-item h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.facility-pill p,
.facility-item p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 3px 0 0;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.cta-content h2 {
  font-size: 30px;
  font-weight: 850;
  color: #fff;
  margin-bottom: 12px;
}

.cta-content p {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   7. 29 KARAKTER LUHUR PEMBINAAN GENERUS (ACCORDION & TOOLBAR)
   -------------------------------------------------------------------------- */
.karakter-section-wrap {
  margin-top: 28px;
}

.karakter-heading-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 16px;
}

.karakter-title {
  font-size: 28px;
  font-weight: 850;
  color: var(--ink);
  margin-top: 6px;
}

.karakter-desc {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 8px;
}

.karakter-dropdown-bar,
.pilar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding: 12px 18px;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
}

.karakter-bar-left,
.pilar-toolbar-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

.karakter-bar-left i,
.pilar-toolbar-info i {
  color: var(--primary);
  font-size: 15px;
}

.btn-toggle-all-karakter,
.btn-toggle-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  background: var(--soft);
  color: var(--ink);
  border: 1px solid #cbd5e1;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s ease;
}

.btn-toggle-all-karakter:hover,
.btn-toggle-all:hover {
  background: #e2e8f0;
  color: var(--primary);
  border-color: #94a3b8;
}

.pilar-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.pilar-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .03);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
  padding: 0;
}

.pilar-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
  border-color: #cbd5e1;
}

.pilar-card.open {
  border-color: #93c5fd;
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.08);
}

.pilar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  margin-bottom: 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  background: #ffffff;
  transition: background .2s ease, border-color .2s ease;
}

.pilar-header:hover {
  background: #f8fafc;
}

.pilar-card.open .pilar-header {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.pilar-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.pilar-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.pilar-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.pilar-title h4 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}

.pilar-title span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  display: block;
  margin-bottom: 2px;
}

.pilar-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
  white-space: nowrap;
}

.pilar-chevron {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1), background .2s ease, color .2s ease;
  flex-shrink: 0;
}

.pilar-card.open .pilar-chevron {
  transform: rotate(180deg);
  background: var(--ink);
  color: var(--yellow);
}

.pilar-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pilar-card.open .pilar-body {
  grid-template-rows: 1fr;
}

.pilar-body-inner {
  overflow: hidden;
  min-height: 0;
}

.pilar-body-content {
  padding: 10px 18px 14px;
}

.karakter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.karakter-item-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--soft);
  transition: background .2s ease;
}

.karakter-item-row:hover {
  background: #f1f4f9;
}

.karakter-num-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.karakter-content h5 {
  margin: 0 0 2px;
  font-size: 13.5px;
  font-weight: 750;
  color: var(--ink);
}

.karakter-content p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   8. FOOTER
   -------------------------------------------------------------------------- */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 68px 0 28px;
  font-size: 13.5px;
}

.footer-grid,
.footer-top {
  display: grid;
  grid-template-columns: 1.35fr .85fr 1fr 1.15fr;
  gap: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #fff;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  font-size: 15px;
  color: #fff;
}

.footer-brand span {
  display: block;
  font-size: 11px;
  color: #94a3b8;
}

.footer-desc,
.footer-copy {
  line-height: 1.6;
  color: #94a3b8;
  max-width: 340px;
}

.footer-col h4,
footer h4,
.footer-brand h4,
.footer-links h5 {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact,
.contact-line {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 12.5px;
  line-height: 1.5;
}

.footer-contact b,
.contact-line b {
  color: var(--yellow);
  margin-right: 6px;
}

.footer-map,
.map {
  height: 158px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-md);
}

.footer-map iframe,
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-bottom {
  margin-top: 45px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  color: var(--yellow);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   9. RESPONSIVE RULES (SHARED)
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 64px 0;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .profile-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-box {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .pilar-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(251, 251, 253, .98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    padding: 18px 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .06);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, .04);
  }
  .nav-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, .06);
    width: 100%;
  }
  .nav-btn-bayar,
  .btn-nav-bayar,
  .btn-nav-sso,
  .nav-btn-sso,
  .nav-login {
    display: inline-flex !important;
    justify-content: center;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 32px, 1180px);
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
