/* ==========================================================================
   YAYASAN JAMI IBADURRAHMAN BANTEN — DESIGN SYSTEM
   Theme: Warm Ivory / Islamic Forest Green / Desert Gold
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-page: #FAF7F0;
  --bg-white: #FFFFFF;
  --bg-hero: #F7F3E9;
  --bg-card: #FFFFFF;
  --bg-card-alt: #FBF9F4;
  --dark: #144D31;
  --accent: #144D31;
  --accent-green: #144D31;
  --accent-green-hover: #0E3A24;
  --accent-green-light: #EBF3EE;
  --accent-gold: #C5A869;
  --accent-gold-hover: #B59654;
  --accent-gold-light: #F7F2E4;
  --border-gold: #DFC99F;
  --border-gold-light: #EFE5D2;
  --border: #DFC99F;
  --text-dark: #1E2E24;
  --text-heading: #144D31;
  --text-mid: #556B5D;
  --text-muted: #6B7B70;
  --text-light: #8A9E95;
  --text-gold: #96742D;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(20, 77, 49, 0.04);
  --shadow-card: 0 4px 18px rgba(20, 77, 49, 0.06);
  --shadow-hover: 0 8px 24px rgba(20, 77, 49, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
  background: #FFFFFF;
  border-top: 3px solid var(--accent-green);
  border-bottom: 1px solid var(--border-gold-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-green);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #2F3E34;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-green);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-green);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-pill-green {
  background: var(--accent-green);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--accent-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(20, 77, 49, 0.15);
}

.btn-pill-green:hover {
  background: var(--accent-green-hover);
  border-color: var(--accent-green-hover);
  transform: translateY(-1px);
}

.btn-pill-outline-green {
  background: transparent;
  color: var(--accent-green) !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--accent-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-pill-outline-green:hover {
  background: var(--accent-green-light);
  transform: translateY(-1px);
}

.btn-pill-outline-gold {
  background: transparent;
  color: var(--text-gold) !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--accent-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-pill-outline-gold:hover {
  background: var(--accent-gold-light);
  transform: translateY(-1px);
}

.btn-cart-checkout {
  background: var(--accent-green);
  color: #FFFFFF !important;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
}

.cart-icon-wrap {
  position: relative;
  font-size: 1.1rem;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #E53E3E;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   ARABESQUE ARCH HERO FRAME (MOCKUP ACCURATE)
   ========================================================================== */
.arch-frame-container {
  padding: 28px 0 16px 0;
  position: relative;
}

.arch-frame {
  position: relative;
  background: #FDFBF7;
  border: 1.5px solid var(--border-gold);
  border-radius: 36px;
  overflow: hidden;
  padding: 44px 56px;
  box-shadow: 0 4px 20px rgba(197, 168, 105, 0.08);
}

/* Corner foliage & arabesque frames */
.arch-corner-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 100%;
  background: url('/assets/images/corner-left.png') top left no-repeat;
  background-size: cover;
  pointer-events: none;
  opacity: 0.95;
}

.arch-corner-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 100%;
  background: url('/assets/images/corner-right.png') top right no-repeat;
  background-size: cover;
  pointer-events: none;
  opacity: 0.95;
}

.arch-content {
  position: relative;
  z-index: 2;
}

/* Hero Section inside Arch */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration img {
  max-width: 100%;
  border-radius: 12px;
}

/* Horizontal 3 Stat Cards on Home */
.stats-banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.stat-box {
  background: #FFFFFF;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  color: var(--accent-green);
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   4 PILAR SECTION ON HOME
   ========================================================================== */
.pilar-section {
  padding: 36px 0 54px 0;
}

.section-header-center {
  text-align: center;
  margin-bottom: 32px;
}

.section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent-green);
  letter-spacing: -0.01em;
}

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

.pilar-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.pilar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-green);
}

.pilar-icon-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 14px;
}

.pilar-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 8px;
}

.pilar-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 14px;
  flex-grow: 1;
}

.pilar-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   PROFIL & LEGALITAS (tentang.php)
   ========================================================================== */
.akta-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto 40px auto;
  box-shadow: var(--shadow-sm);
}

.akta-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.akta-icon {
  width: 48px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.akta-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-green);
  margin-bottom: 4px;
}

.akta-detail {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* 7 MANDIRI Badges (Rub el Hizb 8-point stars) */
.values-container {
  margin: 36px 0;
  text-align: center;
}

.values-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-green);
  margin-bottom: 24px;
}

.mandiri-badges-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.mandiri-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 72px;
}

.mandiri-star {
  width: 54px;
  height: 54px;
  background: var(--accent-green);
  clip-path: polygon(
    50% 0%, 65% 15%, 85% 15%, 85% 35%, 100% 50%, 85% 65%, 85% 85%, 65% 85%, 50% 100%, 35% 85%, 15% 85%, 15% 65%, 0% 50%, 15% 35%, 15% 15%, 35% 15%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 8px;
  box-shadow: 0 4px 10px rgba(20, 77, 49, 0.2);
  transition: transform 0.2s;
}

.mandiri-item:hover .mandiri-star {
  transform: scale(1.08);
  background: var(--accent-gold);
}

.mandiri-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Struktur Organisasi 3 Cards */
.org-section {
  margin-top: 40px;
  text-align: center;
}

.org-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.org-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.org-card:hover {
  border-color: var(--accent-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.org-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #E8ECE9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.org-role {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent-green);
}

.org-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.org-title {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   HUB 4 PILAR (hub-pilar.php)
   ========================================================================== */
.pilar-nav-tabs {
  display: flex;
  justify-content: center;
  border-radius: var(--radius-pill);
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto 36px auto;
  border: 1.5px solid var(--border-gold);
  background: #E6D8BA;
}

.pilar-tab-btn {
  flex: 1;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.pilar-tab-btn span {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.85;
}

.pilar-tab-btn.active {
  background: var(--accent-green);
  color: #FFFFFF;
}

.pilar-tab-btn.active span {
  color: #E2EFE7;
}

.showcase-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.showcase-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
}

.showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.showcase-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #F4EFE6;
}

.showcase-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.showcase-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent-green);
  margin-bottom: 8px;
}

.showcase-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 14px;
}

/* ==========================================================================
   TRANSPARANSI PSAK 109 (transparansi.php)
   ========================================================================== */
.transparansi-top-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  margin-bottom: 24px;
}

.pie-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.pie-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent-green);
  margin-bottom: 16px;
}

.pie-graphic {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: conic-gradient(var(--accent-green) 0% 85%, var(--accent-gold) 85% 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pie-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.84rem;
  font-weight: 700;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
  margin-right: 6px;
}

.counters-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.counters-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-green);
  margin-bottom: 16px;
}

.counter-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-gold-light);
}

.counter-row:last-child {
  border-bottom: none;
}

.counter-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.counter-name {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.counter-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1.1;
}

.transparansi-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.qardhul-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.qardhul-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-green);
  margin-bottom: 14px;
}

.qardhul-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.qardhul-stat-item {
  flex: 1;
}

.qardhul-stat-item:first-child {
  border-right: 1px solid var(--border-gold-light);
  padding-right: 16px;
}

.qardhul-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.qardhul-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-green);
}

.download-kap-card {
  background: var(--accent-green);
  border: 1.5px solid var(--accent-green);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}

.download-kap-card:hover {
  background: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.kap-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.kap-text {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
}

/* ==========================================================================
   PORTAL DONASI & CSR (donasi.php)
   ========================================================================== */
.donasi-4-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-control,
.form-input-box {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.88rem;
  background: #FFFFFF;
  color: var(--text-dark);
  outline: none;
  transition: all 0.2s;
}

.form-control:focus,
.form-input-box:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(20, 77, 49, 0.1);
}

.btn-accent {
  background: var(--accent-green);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(20, 77, 49, 0.15);
}

.btn-accent:hover {
  background: var(--accent-green-hover);
  transform: translateY(-1px);
}

.payment-method-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #FDFBF7;
  border: 1px solid var(--border-gold-light);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-method-item:hover {
  border-color: var(--accent-gold);
  background: #FFFFFF;
}

/* ==========================================================================
   MARKETPLACE KIOS BERDAYA (kios.php)
   ========================================================================== */
.kios-banner {
  background: #F9F4EA;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.kios-banner-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1.2;
}

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

.kios-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.kios-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-green);
}

.kios-img-wrap {
  width: 100%;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  background: #F4EFE6;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kios-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kios-prod-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.kios-prod-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-green);
  margin-bottom: 12px;
}

/* ==========================================================================
   FOOTER (MOCKUP ACCURATE)
   ========================================================================== */
.site-footer {
  background: #103D27;
  border-top: 3px solid var(--accent-gold);
  color: #E2EFE7;
  padding: 20px 0;
  margin-top: auto;
  font-size: 0.82rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #FFFFFF;
}

.footer-contact a {
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-newsletter {
  display: flex;
  align-items: center;
  gap: 6px;
}

.newsletter-input {
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
  color: #FFFFFF;
  font-size: 0.78rem;
  outline: none;
  width: 180px;
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.6);
}

.newsletter-btn {
  background: var(--accent-gold);
  color: #103D27;
  border: none;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-btn:hover {
  background: var(--accent-gold-hover);
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .pilar-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .kios-grid-8 {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-3-grid {
    grid-template-columns: 1fr;
  }
  .transparansi-top-grid,
  .transparansi-bottom-grid,
  .donasi-4-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
  }
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  .arch-frame {
    padding: 24px;
    border-radius: 20px;
  }
  .arch-corner-left,
  .arch-corner-right {
    display: none;
  }
  .hero-title {
    font-size: 1.7rem;
  }
  .stats-banner-grid {
    grid-template-columns: 1fr;
  }
  .pilar-grid-4,
  .kios-grid-8,
  .org-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   ANDROID DOWNLOAD SECTION — myibad-app
   ========================================================================== */
.myibad-app-section {
  padding: 28px 0 44px;
  scroll-margin-top: 100px;
}
.myibad-app-card {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 1fr);
  gap: 42px;
  align-items: center;
  padding: 38px 42px;
  border-radius: 24px;
  background: linear-gradient(115deg, #0f5132, #176744);
  color: #fff;
}
.myibad-app-badge {
  display: inline-block;
  color: #e8d4a5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  margin-bottom: 13px;
}
.myibad-app-copy h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.7px;
}
.myibad-app-copy p {
  margin: 0;
  color: #d1e4d8;
  font-size: 13px;
  line-height: 1.85;
  max-width: 460px;
}
.myibad-app-features {
  list-style: none !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 !important;
  margin: 20px 0 0;
}
.myibad-app-features li {
  list-style: none !important;
  color: #e8eee3;
  font-size: 10px;
  padding: 6px 10px;
  border: 1px solid #689780;
  border-radius: 7px;
}
.myibad-app-features li::before {
  content: none !important;
}
.myibad-app-download {
  text-align: center;
  padding: 24px;
  background: #fff;
  color: #144d31;
  border-radius: 18px;
}
.myibad-app-mark {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: #edf4ee;
}
.myibad-app-version {
  display: block;
  color: #8c7138;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 15px;
}
.myibad-app-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 16px;
  color: #fff !important;
  background: #144d31;
  border: 1px solid #144d31;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.5;
}
.myibad-app-button:hover { background: #0e3a24; }
.myibad-app-button:focus-visible,
.myibad-app-help summary:focus-visible {
  outline: 3px solid #c5a869;
  outline-offset: 4px;
}
.myibad-app-meta {
  color: #556b5d;
  font-size: 11px;
  margin: 12px 0 6px;
}
.myibad-app-note {
  color: #738276;
  font-size: 10px;
  line-height: 1.7;
  margin: 0;
}
.myibad-app-help {
  text-align: left;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid #e3ebe5;
  font-size: 11px;
  color: #556b5d;
}
.myibad-app-help summary {
  cursor: pointer;
  color: #144d31;
  font-weight: 700;
}
.myibad-app-help p {
  margin: 9px 0 0;
  line-height: 1.85;
}
@media (max-width: 720px) {
  .myibad-app-section { scroll-margin-top: 230px; }
  .myibad-app-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px;
  }
  .myibad-app-download { padding: 22px; }
}
@media (max-width: 380px) {
  .myibad-app-card { padding: 21px; }
  .myibad-app-download { padding: 17px; }
  .myibad-app-button { font-size: 12px; padding: 13px 10px; }
}
